/* ============================================================================
   Campus Software — corporate site
   Implementation of "Campus Software.dc.html".

   Tokens come from the Nocturne design system
   (_ds/nocturne-.../styles.css), which is linked first. This file only adds
   page-level type, layout and components. Retune colour/radius/elevation in
   the design system, not here.
   ========================================================================= */

:root {
  --font-heading: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --wrap: 1140px;
  --gutter: 28px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: color-mix(in srgb, var(--color-surface) 40%, var(--color-bg));
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: var(--color-accent-300); text-decoration: none; }
a:hover { color: var(--color-accent-200); }

h1, h2 { font-family: var(--font-heading); font-weight: 500; letter-spacing: -0.02em; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--color-text);
  box-shadow: var(--shadow-md);
  transition: top .18s ease;
}
.skip-link:focus { top: 8px; }

input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
select option { background: var(--color-surface); color: var(--color-text); }

/* ── section grounds ──────────────────────────────────────────────────── */

.sec { padding: 76px var(--gutter); }
.sec--tight { padding: 64px var(--gutter); }
.sec--slim { padding: 56px var(--gutter); }

/* The page alternates between the dark ground and two light grounds.
   Light sections re-point the text colour so nested muted tokens read. */
.sec--light { background: var(--color-neutral-100); color: var(--color-neutral-900); }
.sec--light-2 { background: var(--color-neutral-200); color: var(--color-neutral-900); }
.sec--dark { background: var(--color-bg); }
.sec--surface { background: var(--color-surface); }
.sec--fade { background: linear-gradient(180deg, var(--color-bg), color-mix(in srgb, var(--color-surface) 45%, var(--color-bg))); }
.sec--indigo {
  background: var(--color-section);
  background-image: radial-gradient(60% 90% at 15% 0%, var(--color-section-glow), transparent 70%);
  color: var(--color-text);
}
.rule-top { border-top: 1px solid var(--color-divider); }
.rule-bottom { border-bottom: 1px solid var(--color-divider); }

/* ── shared type ──────────────────────────────────────────────────────── */

.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-300);
}
.sec--light .kicker, .sec--light-2 .kicker { color: var(--color-accent-700); }
.kicker--warm { color: var(--color-accent-600); }
.kicker--pale { color: var(--color-accent-200); }
.kicker--mute { color: var(--color-neutral-600); }

.sec-title { font-size: 38px; margin: 16px 0 0; }
.sec-title--sm { font-size: 36px; }
.m-24ch { max-width: 24ch; }
.m-26ch { max-width: 26ch; }

.lede {
  font-size: 16.5px; line-height: 1.65;
  color: var(--color-neutral-400);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.sec--light .lede, .sec--light-2 .lede { color: var(--color-neutral-700); }
.lede--66 { max-width: 66ch; }
.lede--68 { max-width: 68ch; }
.lede--62 { max-width: 62ch; }

/* ── header ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--color-neutral-100) 88%, transparent);
  border-bottom: 1px solid var(--color-neutral-400);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; color: var(--color-neutral-900); }
.brand img { height: 30px; width: auto; display: block; }

.site-nav {
  display: none;
  gap: 22px; margin-left: auto;
  font-size: 13.5px; color: var(--color-neutral-700);
}
.site-nav a { color: inherit; }
.site-nav a:hover { color: var(--color-neutral-900); }

.header-cta {
  margin-left: auto;
  font-family: var(--font-heading); font-size: 13.5px;
  color: var(--color-accent-600); border-color: var(--color-accent-600);
}

/* Mobile disclosure. The canvas simply hid the nav below 880px; a shipped
   site needs the links reachable, so narrow viewports get a real menu. */
.nav-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--color-neutral-400); border-radius: var(--radius-md);
  background: transparent; color: var(--color-neutral-900);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--color-accent-600); }
.nav-toggle svg { width: 18px; height: 18px; display: block; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-neutral-400);
  background: var(--color-neutral-100);
}
.mobile-nav[data-open] { display: block; }
.mobile-nav ul {
  list-style: none; margin: 0;
  max-width: var(--wrap);
  padding: 8px var(--gutter) 16px;
  margin-inline: auto;
}
.mobile-nav a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid var(--color-neutral-300);
  color: var(--color-neutral-900); font-size: 15px;
}
.mobile-nav a:hover { color: var(--color-accent-700); }

/* Below 881px the call to action lives in the fixed bar at the bottom of
   the screen, not up here — the header has room for the logo and the menu
   and not much else, and offering the same thing twice on a phone reads as
   clutter rather than emphasis. */
.header-cta { display: none; }

@media (min-width: 881px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 0; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ── the enquiry button that does not scroll away ─────────────────────── */

/* Fixed rather than sticky, so it holds its place at every scroll position
   instead of only once its parent scrolls past. */
.enquire-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 10px var(--gutter);
  /* Clears the iPhone home indicator, and is simply 0 everywhere else. */
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--color-neutral-100) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-neutral-400);
  transition: transform .22s ease, opacity .22s ease;
}
.enquire-bar__btn {
  display: flex; width: 100%;
  justify-content: center;
  font-family: var(--font-heading); font-size: 15px;
  padding-block: 12px;
}

/* Out of the way while the form itself is on screen — a button that covers
   the thing it is asking you to fill in is worse than no button. Moved
   rather than hidden, so it slides back as soon as you scroll away. */
.enquire-bar[data-hidden] {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* So the bar can never permanently obscure the end of the page — including
   with JavaScript off, where it never hides. */
body { padding-bottom: 72px; }

@media (min-width: 881px) {
  .enquire-bar { display: none; }
  body { padding-bottom: 0; }
}

/* It animates in; someone who has asked for less motion just gets it. */
@media (prefers-reduced-motion: reduce) {
  .enquire-bar { transition: none; }
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: 64px var(--gutter) 56px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 520px;
  background: radial-gradient(45% 60% at 22% 30%, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 70%);
  filter: blur(18px); pointer-events: none;
}
.hero__grid {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 44px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent-700);
  border: 1px solid var(--color-accent-600); border-radius: 999px;
  padding: 6px 12px;
}
.badge__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }

.hero h1 {
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05;
  letter-spacing: -0.03em; margin: 22px 0 0;
  max-width: 15ch; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--color-accent-700); }
.hero__sub {
  font-size: 17.5px; line-height: 1.6; color: var(--color-neutral-700);
  max-width: 54ch; margin: 22px 0 0; text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { font-family: var(--font-heading); font-size: 14.5px; padding: 11px 20px; }
.btn--on-light { color: var(--color-accent-600); border-color: var(--color-accent-600); }
.btn--plain-light { color: var(--color-neutral-900); }

@media (min-width: 881px) {
  .hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}

/* ── code window ──────────────────────────────────────────────────────── */

.window {
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg));
  color: var(--color-neutral-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window__bar {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--color-neutral-800);
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-neutral-800) 45%, var(--color-surface)), var(--color-surface));
}
.window__dot {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28);
}
.window__dot--r { background: #e0655b; }
.window__dot--y { background: #e0b341; }
.window__dot--g { background: #62c356; }
.window__file {
  position: absolute; left: 0; right: 0; text-align: center;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--color-neutral-400); pointer-events: none;
}
.window__tag {
  margin-left: auto; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .1em; color: var(--color-accent-300);
}
.window__foot {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; border-top: 1px solid var(--color-neutral-800);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--color-neutral-500);
}
.window__foot .ok { color: var(--color-accent-300); }
.window__foot .end { margin-left: auto; }

.code {
  height: 330px; padding: 16px 16px 0;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.05vw, 12px);
  line-height: 1.85; overflow: hidden;
}
.code__scroll { display: grid; animation: codeRun 11s steps(13, end) infinite; }
.code__line {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 12px; align-items: baseline;
}
.code__n { color: var(--color-neutral-700); text-align: right; }
.i1 { padding-left: 12px; }
.i2 { padding-left: 24px; }
.t-com { color: var(--color-neutral-600); }
.t-kw { color: var(--color-accent-300); }
.t-str { color: var(--color-accent-400); }
.t-id { color: var(--color-neutral-200); }

/* ── problem → solution ───────────────────────────────────────────────── */

.pairs { display: grid; margin-top: 44px; }
.pair {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 18px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--color-divider);
}
.pairs .pair:last-child { border-bottom: 1px solid var(--color-divider); }
.pair__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--color-neutral-600);
}
.pair__label--answer { color: var(--color-accent-400); }
.pair__text { font-family: var(--font-heading); font-size: 21px; margin-top: 8px; }
.pair__text--problem { color: var(--color-neutral-300); }
.pair__arrow { display: flex; align-items: center; justify-content: center; }
.pair__arrow svg { width: 88px; height: 24px; overflow: visible; }
.arrow-run { animation: dash 3.4s linear infinite; }

@media (min-width: 761px) {
  .pair { grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); gap: 0; }
}
@media (max-width: 760px) {
  .pair__arrow { justify-content: flex-start; }
  .pair__arrow svg { transform: rotate(90deg); }
}

/* ── card grids ───────────────────────────────────────────────────────── */

.grid { display: grid; gap: 18px; }
.grid--250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--190 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mt-40 { margin-top: 40px; }
.mt-44 { margin-top: 44px; }
.mt-32 { margin-top: 32px; }
.mt-28 { margin-top: 28px; }

/* Card on a light ground, lifted on hover. */
.card--light {
  background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-400);
  color: var(--color-neutral-900);
  padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--light .card-kicker {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--color-accent-600);
  text-transform: none;
}
.card--light .card-title { font-family: var(--font-heading); font-size: 19px; margin-top: 10px; }
.card--light .card-body {
  font-size: 14.5px; line-height: 1.6;
  color: var(--color-neutral-700); margin-top: 8px; opacity: 1;
}

/* ── industries ───────────────────────────────────────────────────────── */

.split {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px;
}
@media (min-width: 881px) {
  .split--industries { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
  .split--enquiry { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}

.rows { display: grid; gap: 2px; }
.row {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--color-divider);
  transition: padding-left .3s ease;
}
.row:hover { padding-left: 8px; }
.row__name { font-family: var(--font-heading); font-size: 20px; min-width: 210px; }
.row__desc { font-size: 14.5px; color: var(--color-neutral-400); line-height: 1.55; flex: 1; }

/* ── marketing ────────────────────────────────────────────────────────── */

.mk-split {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 44px; margin-top: 44px; align-items: center;
}
@media (min-width: 881px) {
  .mk-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.mk-copy { display: grid; gap: 14px; }
.mk-copy__head { font-family: var(--font-heading); font-size: 24px; letter-spacing: -0.01em; }
.mk-copy__body { font-size: 15px; line-height: 1.65; color: var(--color-neutral-700); text-wrap: pretty; }
.mk-copy__notes {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--color-accent-700);
}

.panel {
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg));
  color: var(--color-neutral-200);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--color-neutral-500);
}
.panel__head .hi { letter-spacing: .08em; color: var(--color-accent-300); }
.panel__foot {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--color-neutral-800);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--color-neutral-500);
}
.panel__foot .end { margin-left: auto; color: var(--color-accent-300); }

.chart {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px; margin-top: 18px;
}
.chart__col { display: grid; gap: 8px; justify-items: center; }
.chart__track { width: 100%; height: 96px; display: flex; align-items: flex-end; }
.chart__bar { width: 100%; border-radius: 3px 3px 0 0; background: var(--color-accent-700); }
.chart__bar--hi { background: var(--color-accent-400); }
.chart__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; color: var(--color-neutral-600);
}

/* ── AI delivery band ─────────────────────────────────────────────────── */

.term {
  margin-top: 28px;
  border: 1px solid var(--color-section-ghost);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, #161826 34%, transparent);
  padding: 16px 18px;
  display: grid; gap: 12px; max-width: 440px;
}
.term__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .14em; color: var(--color-accent-200);
}
.term__live { display: inline-flex; align-items: center; gap: 6px; }
.term__live i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-accent-300);
  animation: tick 1.6s ease-in-out infinite;
}
.term__log {
  display: grid; gap: 8px;
  font-family: var(--font-mono); font-size: 12px;
  min-height: 128px; align-content: start;
}
.term__row {
  display: flex; align-items: baseline; gap: 10px;
  opacity: 0; animation: 10s ease-in-out infinite;
}
.term__row:nth-child(1) { animation-name: logA; }
.term__row:nth-child(2) { animation-name: logB; }
.term__row:nth-child(3) { animation-name: logC; }
.term__row:nth-child(4) { animation-name: logD; }
.term__row:nth-child(5) { animation-name: logE; }
.term__who { color: var(--color-accent-200); min-width: 58px; }
.term__what { color: var(--color-accent-200); opacity: .85; }
.term__what--hi { color: var(--color-accent-100); opacity: 1; }
.term__prompt { display: flex; align-items: center; gap: 8px; color: var(--color-accent-200); }
.term__caret {
  width: 7px; height: 14px; background: var(--color-accent-300);
  animation: caret 1.1s steps(1) infinite;
}
.term__foot {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--color-section-ghost);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; color: var(--color-accent-200);
}
.term__foot span:last-child {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--color-section-ghost), transparent);
}
.band-copy { font-size: 16px; line-height: 1.65; color: var(--color-accent-200); margin-top: 18px; text-wrap: pretty; }

.ghost-card {
  border: 1px solid var(--color-section-ghost);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: color-mix(in srgb, #161826 30%, transparent);
}
.ghost-card__title { font-family: var(--font-heading); font-size: 16px; }
.ghost-card__body { font-size: 14px; color: var(--color-accent-200); margin-top: 6px; line-height: 1.55; }

/* ── includes / stats ─────────────────────────────────────────────────── */

.includes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px; margin-top: 30px;
}
.include { display: grid; gap: 8px; }
.include svg { width: 26px; height: 26px; }
.include__title { font-family: var(--font-heading); font-size: 19px; }
.include__note { font-size: 14px; color: var(--color-neutral-500); }

.stats {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px;
}
.stat__n {
  font-family: var(--font-heading); font-size: 46px;
  letter-spacing: -0.03em; color: var(--color-accent-300);
}
.stat__label { font-size: 13.5px; color: var(--color-neutral-500); margin-top: 4px; }

/* ── process ──────────────────────────────────────────────────────────── */

.step { padding-top: 20px; border-top: 2px solid var(--color-neutral-400); }
.step--first { border-top-color: var(--color-accent); }
.step__n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--color-neutral-700);
}
.step--first .step__n { color: var(--color-accent-600); }
.step__shot {
  position: relative; margin-top: 12px;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-neutral-400);
  background: var(--color-neutral-900);
}
.step__shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.9) contrast(1.02) brightness(1.06);
}
.step__shot::after {
  content: ""; position: absolute; inset: 0;
  background: var(--color-accent-800); opacity: .18;
  mix-blend-mode: multiply; pointer-events: none;
}
.step__title { font-family: var(--font-heading); font-size: 18px; margin-top: 12px; }
.step__body { font-size: 14px; color: var(--color-neutral-700); margin-top: 8px; line-height: 1.55; }

/* ── logo slots ───────────────────────────────────────────────────────── */

.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 28px; }
.logo-slot {
  height: 88px;
  border: 1px dashed var(--color-neutral-400);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; color: var(--color-neutral-600);
  transition: border-color .3s ease, color .3s ease;
}
.logo-slot:hover { border-color: var(--color-accent-600); color: var(--color-neutral-700); }
.logos-note { text-align: center; font-size: 13px; color: var(--color-neutral-600); margin-top: 18px; }
.center { text-align: center; }

/* ── testimonials ─────────────────────────────────────────────────────── */

.quote { padding: 26px; }
.quote__text { font-family: var(--font-heading); font-size: 17px; line-height: 1.55; text-wrap: pretty; margin: 0; }
.quote__who { font-size: 13px; color: var(--color-neutral-500); margin-top: 16px; }

/* ── engagement models ────────────────────────────────────────────────── */

.model { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.model--featured { box-shadow: var(--shadow-md); border-color: var(--color-accent-700); }
.model__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.model__title { font-family: var(--font-heading); font-size: 20px; }
.model__body { font-size: 14.5px; color: var(--color-neutral-700); line-height: 1.6; }
.model__note {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--color-accent-600); margin-top: auto;
}
.tag-accent { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; }

/* ── client portal ────────────────────────────────────────────────────── */

.portal {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 44px; margin-top: 40px; align-items: start;
}
@media (min-width: 881px) {
  .portal { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}
.dash {
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.dash__head {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--color-neutral-800);
}
.dash__project { font-family: var(--font-heading); font-size: 14.5px; }
.dash__milestone {
  margin-left: auto; font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .08em; color: var(--color-accent-300);
}
.dash__body { padding: 18px; }
.dash__progress-head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--color-neutral-500);
}
.dash__progress-head b { font-weight: 400; color: var(--color-accent-300); }
.dash__track {
  height: 5px; margin-top: 8px; border-radius: 3px;
  background: var(--color-neutral-900); overflow: hidden;
}
.dash__fill {
  height: 100%; background: var(--color-accent-400);
  transform-origin: left; transform: scaleX(.68);
  animation: fillBar 3.2s cubic-bezier(.4, 0, .2, 1) 1;
}
.ms {
  display: grid; grid-template-columns: 34px 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 0; border-top: 1px solid var(--color-neutral-800);
}
.ms__n { font-family: var(--font-mono); font-size: 11px; color: var(--color-neutral-600); }
.ms__name { font-size: 13.5px; }
.ms__state {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .06em; color: var(--color-neutral-500);
}
.ms__state--done { color: var(--color-accent-300); }
.ms__state--now { color: var(--color-neutral-100); }

.dash__test {
  display: grid; gap: 10px; margin-top: 18px; padding: 14px;
  border: 1px solid var(--color-neutral-800);
  border-radius: var(--radius-md);
  background: var(--color-neutral-900);
}
.dash__url {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--color-neutral-400);
}
.dash__url b { font-weight: 400; color: var(--color-accent-300); }
.dash__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.dash__actions .btn { font-family: var(--font-heading); font-size: 12.5px; padding: 7px 14px; }
.dash__invoice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding: 13px 14px;
  border: 1px solid var(--color-accent-700); border-radius: var(--radius-md);
}
.dash__invoice-copy { display: grid; gap: 2px; }
.dash__invoice-copy span:first-child {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .08em; color: var(--color-neutral-500);
}
.dash__invoice-copy span:last-child { font-size: 13.5px; }
.dash__invoice .btn {
  margin-left: auto; font-family: var(--font-heading);
  font-size: 12.5px; padding: 7px 16px;
}

.feature { display: grid; gap: 7px; padding-top: 16px; border-top: 1px solid var(--color-divider); }
.feature__title { font-family: var(--font-heading); font-size: 16.5px; }
.feature__body { font-size: 14px; line-height: 1.55; color: var(--color-neutral-400); }

.pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; list-style: none; padding: 0; }
.pipeline li { display: flex; align-items: center; gap: 10px; }
.pipeline li::after { content: "\2192"; color: var(--color-neutral-700); font-size: 13px; }
.pipeline li:last-child::after { content: none; }
.chip {
  padding: 7px 14px; border: 1px solid var(--color-neutral-800); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .08em; color: var(--color-neutral-300);
}
.chip--next { border-color: var(--color-accent-700); color: var(--color-accent-300); }

/* ── journey ──────────────────────────────────────────────────────────── */

.journey-rule { width: 100%; height: 30px; margin-top: 34px; }
.journey {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; margin-top: 8px;
}
@media (min-width: 761px) { .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1101px) { .journey { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.jstep {
  display: grid; gap: 8px; align-content: start;
  padding-top: 18px; border-top: 2px solid var(--color-neutral-400);
}
.jstep--first { border-top-color: var(--color-accent-600); }
.jstep__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--color-accent-600); }
.jstep__title { font-family: var(--font-heading); font-size: 17px; }
.jstep__body { font-size: 13.5px; line-height: 1.55; color: var(--color-neutral-700); }

.pull {
  margin-top: 44px; padding-left: 20px;
  border-left: 2px solid var(--color-accent-600);
  font-family: var(--font-heading); font-size: 21px;
  line-height: 1.45; max-width: 44ch; text-wrap: pretty;
}

/* ── enquiry ──────────────────────────────────────────────────────────── */

.enquiry { position: relative; padding: 84px var(--gutter) 96px; overflow: hidden; }
.enquiry__glow {
  position: absolute; inset: auto -10% -40% -10%; height: 420px;
  background: radial-gradient(40% 60% at 70% 60%, color-mix(in srgb, var(--color-accent) 20%, transparent), transparent 70%);
  filter: blur(20px); animation: drift 26s ease-in-out infinite; pointer-events: none;
}
.enquiry__inner { position: relative; }
.enquiry__contact { margin-top: 28px; font-size: 14.5px; color: var(--color-neutral-400); line-height: 1.9; }
.enquiry__contact .place { color: var(--color-neutral-600); }
.enquiry__note {
  margin-top: 32px; border-top: 1px solid var(--color-divider); padding-top: 18px;
  font-size: 14px; color: var(--color-neutral-500); line-height: 1.6; max-width: 40ch;
}

.form-card { padding: 30px; box-shadow: var(--shadow-md); }
.form { display: grid; gap: 16px; }
.form__pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 561px) { .form__pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; color: var(--color-neutral-400); }
.input { font-family: var(--font-body); }
textarea.input { resize: vertical; line-height: 1.55; }
select.input {
  appearance: none; padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-neutral-400) 50%),
    linear-gradient(135deg, var(--color-neutral-400) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}
.field__error { font-size: 12.5px; color: #ef8079; min-height: 0; }
.input[aria-invalid="true"] { border-color: #ef8079; }

.assurance {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-accent-800); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-accent-900) 55%, transparent);
}
.assurance svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.assurance p { font-size: 13.5px; line-height: 1.55; color: var(--color-accent-200); margin: 0; }
.assurance strong { font-family: var(--font-heading); font-weight: 500; color: var(--color-text); }

.form__submit { justify-self: start; margin-top: 6px; font-family: var(--font-heading); font-size: 14.5px; padding: 11px 22px; }
.form__fineprint { font-size: 12.5px; color: var(--color-neutral-600); }

.thanks { display: grid; gap: 12px; padding: 28px 0; }
.thanks__title { font-family: var(--font-heading); font-size: 24px; }
.thanks__body { font-size: 15px; color: var(--color-neutral-400); line-height: 1.6; }
.thanks .btn { justify-self: start; margin-top: 8px; font-family: var(--font-heading); }
[hidden] { display: none !important; }

/* ── footer ───────────────────────────────────────────────────────────── */

.site-footer { padding: 44px var(--gutter); border-top: 1px solid var(--color-divider); }
.site-footer__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: baseline; justify-content: space-between;
}
.site-footer img { height: 32px; width: auto; display: block; margin-bottom: 10px; }
.site-footer__tag { font-size: 13.5px; color: var(--color-neutral-500); margin-top: 6px; }
.site-footer__right { display: grid; gap: 16px; justify-items: end; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--color-neutral-800); border-radius: var(--radius-md);
  color: var(--color-neutral-400);
  transition: border-color .3s ease, color .3s ease;
}
.social a:hover { border-color: var(--color-accent-700); color: var(--color-accent-300); }
.social svg { width: 17px; height: 17px; }
.site-footer__links {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 13.5px; color: var(--color-neutral-500);
}

/* The one link here that leaves the site. It inherits the same colour as its
   neighbours — the padlock is what distinguishes it, because a client looking
   for the way in is scanning for the idea rather than for a word. */
.site-footer__login {
  display: inline-flex; align-items: center; gap: 7px;
}
.site-footer__login svg { width: 14px; height: 14px; }

/* The honeypot. Off-screen rather than display:none, because some bots skip
   fields they can tell are hidden — and aria-hidden plus tabindex="-1" on the
   markup keeps it away from anybody using a screen reader or the keyboard. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The reference the portal hands back, under the thank-you. */
.thanks__ref {
  margin: 10px 0 0;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  color: var(--color-neutral-400);
}

/* ── reveal-on-scroll ─────────────────────────────────────────────────── */

/* Only armed once JS confirms IntersectionObserver support, so the content
   is visible by default for crawlers and no-JS readers. */
[data-reveal] { opacity: 1; }
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-shift, 16px));
  transition:
    opacity .7s cubic-bezier(.22, .61, .36, 1),
    transform .7s cubic-bezier(.22, .61, .36, 1);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ── keyframes ────────────────────────────────────────────────────────── */

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.12); }
}
@keyframes dash { to { stroke-dashoffset: -260; } }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes tick { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes fillBar {
  0% { transform: scaleX(.04); }
  60% { transform: scaleX(.68); }
  100% { transform: scaleX(.68); }
}
@keyframes codeRun {
  0% { clip-path: inset(0 0 42.5% 0); transform: translateY(0); }
  55% { clip-path: inset(0 0 0% 0); transform: translateY(-244px); }
  100% { clip-path: inset(0 0 0% 0); transform: translateY(-244px); }
}
@keyframes logA {
  0%, 4% { opacity: 0; transform: translateY(6px); }
  10% { opacity: 1; transform: none; }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes logB {
  0%, 16% { opacity: 0; transform: translateY(6px); }
  22% { opacity: 1; transform: none; }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes logC {
  0%, 28% { opacity: 0; transform: translateY(6px); }
  34% { opacity: 1; transform: none; }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes logD {
  0%, 40% { opacity: 0; transform: translateY(6px); }
  46% { opacity: 1; transform: none; }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes logE {
  0%, 52% { opacity: 0; transform: translateY(6px); }
  58% { opacity: 1; transform: none; }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .term__row { opacity: 1; }
  .code__scroll { clip-path: none; transform: none; }
}
