@font-face {
  font-family: 'Barlow Semi Condensed';
  src: url('assets/barlow-semi-condensed-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/source-sans-3.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --canvas: #edf5fa;
  --paper: #ffffff;
  --surface-tint: #e0edf6;
  --ink: #15252a;
  --muted: #4a6279;
  --navy: #193558;
  --navy-hover: #122842;
  --ice: #9ee4ff;
  --apricot: #ffb36b;
  --apricot-hover: #ffc48f;
  --on-navy-muted: #dbe8f5;
  --line: #cad9e6;
  --control-line: #6a8196;
  --focus: var(--navy);
  --display: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --gutter: clamp(1rem, 5vw, 3rem);
  --section: clamp(3rem, 6.5vw, 6rem);
  color-scheme: light;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
body { font-size: 1.125rem; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--ice); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.018em; }
h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h1, h2 { text-wrap: balance; }
p { max-width: 65ch; }
.wrap { width: min(75rem, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset: .7rem auto auto .7rem;
  z-index: 2;
  transform: translateY(-180%);
  padding: .5rem 1rem;
  background: var(--paper);
  color: var(--navy);
}

.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--canvas); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-row { min-height: 4.85rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font: 700 1.22rem/.8 var(--display); text-decoration: none; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 1em; height: 1em; flex: none; background: var(--navy); color: var(--ice); border-radius: .32rem; font-size: 2.15rem; }
.brand-mark i { position: absolute; width: .39em; height: .058em; background: currentColor; transform: rotate(-45deg); }
.brand-mark i:first-child { transform: translate(-.107em, -.102em) rotate(-45deg); }
.brand-mark i:last-child { transform: translate(.107em, .102em) rotate(-45deg); }
.brand-dot { color: var(--navy); }
.site-header .brand {
  flex: none;
  gap: .65rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 1.05rem + 1vw, 1.65rem);
  line-height: .9;
}
.site-header .brand-mark { font-size: clamp(2.25rem, 1.95rem + 1vw, 2.8rem); }
.primary-nav { display: flex; gap: clamp(.65rem, 3vw, 2.15rem); align-items: center; }
.primary-nav a, .header-contact { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current], .header-contact:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.header-contact { color: var(--navy); gap: .65rem; }

.arrow { display: inline-block; position: relative; flex: 0 0 .9em; width: .9em; height: 1em; }
.arrow::before { content: ''; position: absolute; inset: 50% 1px auto 0; border-top: 1.5px solid currentColor; }
.arrow::after { content: ''; position: absolute; width: .42em; height: .42em; inset: 50% 1px auto auto; transform: translateY(-42%) rotate(45deg); border: solid currentColor; border-width: 1.5px 1.5px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.05rem; max-width: 100%; padding: .61rem 1.05rem; border: 1px solid transparent; border-radius: .32rem; text-decoration: none; font-weight: 700; line-height: 1.25; text-align: center; }
.button-primary { background: var(--navy); color: var(--paper); }
.button-primary:hover { background: var(--navy-hover); }
.button-light { background: var(--apricot); color: var(--ink); }
.button-light:hover { background: var(--apricot-hover); }
.button-outlined { border-color: var(--navy); color: var(--navy); background: transparent; }
.button-outlined:hover { background: var(--surface-tint); }
.text-link, .hero-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-weight: 650; }
.text-link { color: var(--navy); }
.text-link:hover, .hero-link:hover { text-decoration-thickness: 2px; }

.hero, .closing, .demo-banner { --focus: var(--ice); background: var(--navy); color: var(--paper); }
.hero { padding-block: clamp(3.2rem, 6.7vw, 6.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(3rem, 5.35vw, 4.45rem); text-wrap: wrap; line-height: .99; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--ice); }
.hero-copy > p { max-width: 43ch; margin-top: 1.35rem; color: var(--on-navy-muted); font-size: clamp(1.125rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem; margin-top: 1.65rem; }

.quote-board, .journey-board { --focus: var(--navy); color: var(--ink); background: var(--paper); padding: clamp(.9rem, 2.2vw, 1.65rem); border-radius: .72rem; box-shadow: 0 16px 36px #101e3a38; min-width: 0; }
.quote-heading { padding-bottom: 1.1rem; }
.quote-heading h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); text-wrap: wrap; }
.quote-heading p { margin-top: .35rem; font-size: .95rem; color: var(--muted); }
.quote-list { list-style: none; padding: 0; }
.quote-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: .45rem .75rem; padding: .82rem 0; border-top: 1px solid var(--line); }
.quote-row h3, .quote-next strong { font: 700 clamp(.99rem, 1.7vw, 1.08rem)/1.25 var(--body); letter-spacing: 0; }
.quote-next strong { display: block; }
.quote-row p { margin-top: .25rem; color: var(--muted); font-size: .9rem; line-height: 1.3; }
.quote-status { color: #765022; font-weight: 600; }
.quote-status.booked { color: var(--navy); }
.journey-board h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); text-wrap: wrap; }
.journey-board ol { margin-top: 1rem; padding: 0; list-style: none; }
.journey-board li { padding: .65rem 0; border-top: 1px solid var(--line); }
.journey-board h3 { font: 700 1.125rem/1.3 var(--body); letter-spacing: 0; }
.journey-board p { margin-top: .2rem; color: var(--muted); font-size: 1.025rem; }
.review-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: -.15rem 0 .9rem; }
.review-filters button { min-height: 2.75rem; padding: .25rem .78rem; border-radius: 2rem; border: 1px solid var(--navy); color: var(--navy); background: transparent; font-weight: 600; font-size: .98rem; }
.review-filters button:hover { background: var(--surface-tint); }
.review-filters button[aria-pressed='true'] { color: var(--paper); background: var(--navy); }
.quote-note { padding-top: .85rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }

.services-overview, .process, .service-details, .example-row, .contact-grid, .prose, .demo-enquiry { padding-block: var(--section); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: .25rem 1.2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.service-grid article { padding: 1.2rem 1.5rem 1.38rem; }
.service-grid article + article { border-left: 1px solid var(--line); }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { padding-right: 0; }
.service-grid a { display: inline-flex; gap: .5rem; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.service-grid a:hover { text-decoration: underline; }
.service-grid .arrow { color: var(--navy); width: .65em; flex-basis: .65em; }
.service-grid p, .process p, .feature-grid p, .page-heading p, .example-row > div > p, .detail-row p, .detail-row dd, .contact-aside p, .prose p, .demo-hero p, .demo-enquiry p { color: var(--muted); }
.service-grid p { margin-top: .18rem; }

.example-feature { background: var(--surface-tint); padding-block: clamp(2.35rem, 5.4vw, 4.75rem); }
.feature-grid, .process, .detail-row, .example-row, .contact-grid, .demo-hero, .demo-enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.8rem, 6vw, 5rem); }
.feature-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.feature-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .55rem; }
.feature-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .91rem; }
.feature-grid h2, .process h2, .example-row h2 { text-wrap: wrap; }
.feature-grid p, .process > div p, .example-row > div p, .contact-aside p, .demo-enquiry > div p { margin-top: .85rem; }
.feature-grid .text-link, .feature-grid .button, .demo-enquiry .button-outlined, .demo-hero .button, .contact-aside > a { margin-top: .95rem; }

.process { grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); }
.process ol { counter-reset: process; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: .6rem; padding: .95rem 0; border-bottom: 1px solid var(--line); counter-increment: process; }
.process li::before { content: counter(process) '.'; grid-row: span 2; color: var(--navy); font: 700 1.3rem/1.2 var(--display); }
.process li p { grid-column: 2; margin-top: .32rem; }
.closing { padding-block: clamp(2.5rem, 5vw, 4rem); }
.closing-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.closing h2 { text-wrap: wrap; }
.closing p { margin-top: .55rem; color: var(--on-navy-muted); }
.site-footer { padding-block: 1.75rem; background: var(--canvas); border-top: 1px solid var(--line); }
.footer-row { flex-wrap: wrap; }
.footer-row > p { color: var(--muted); font-size: 1rem; }
.footer-row > .footer-legal { flex-basis: 100%; margin-top: .25rem; font-size: .8rem; line-height: 1.45; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.05rem; }
.footer-links a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--navy); font-size: 1rem; overflow-wrap: anywhere; }

.page-heading { padding-block: clamp(2.75rem, 7vw, 5.15rem) clamp(1.8rem, 4.4vw, 3.4rem); border-block: 1px solid var(--line); }
.page-heading h1, .demo-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 17ch; text-wrap: wrap; }
.page-heading p { margin-top: .9rem; font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 50ch; }
.detail-row { padding-block: 1.65rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.detail-row:last-child { border-bottom: 1px solid var(--line); }
.detail-row h2 { font-size: clamp(1.95rem, 4vw, 2.7rem); text-wrap: wrap; }
.detail-row .service-summary { margin: .5rem 0 .4rem; font-weight: 650; color: var(--navy); }
.detail-row dl { padding-block: .1rem; display: grid; gap: .95rem; }
.detail-row dt { color: var(--ink); font-weight: 700; }
.detail-row dd { margin-top: .15rem; }
.detail-row .text-link { margin-top: .45rem; }
.example-row { grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); scroll-margin-top: 1rem; }
.example-row > div { align-self: center; }

.contact-grid, .demo-enquiry { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.form-panel { padding: clamp(1.05rem, 3vw, 1.75rem); background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; }
.form-panel h2, .contact-aside h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); text-wrap: wrap; }
.form-panel > p { margin: .55rem 0 1rem; color: var(--muted); }
.field { display: grid; gap: .25rem; margin-bottom: 1rem; }
.field label { font-weight: 650; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 2.85rem; border: 1px solid var(--control-line); border-radius: .28rem; background: var(--paper); color: var(--ink); padding: .48rem .6rem; caret-color: var(--navy); }
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--muted); }
.form-output { margin: .85rem 0 0; border-radius: .3rem; padding: .65rem .8rem; background: var(--surface-tint); color: var(--navy); }
.form-output a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
.contact-aside { padding-block: .5rem; }
.contact-aside a, .prose a { color: var(--navy); font-weight: 650; overflow-wrap: anywhere; }
.contact-aside > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.prose h2 { margin-bottom: .5rem; font-size: clamp(1.7rem, 3vw, 2.2rem); text-wrap: wrap; }
.prose p + h2, .prose ul + h2 { margin-top: 1.75rem; }
.prose ul { margin: .6rem 0 0; padding-left: 1.25rem; list-style: disc; color: var(--muted); }
.prose li + li { margin-top: .4rem; }
.prose p + p, .prose ul + p { margin-top: .75rem; }
.prose strong { color: var(--ink); }

.demo-banner { padding-block: .38rem; }
.demo-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .85rem; }
.demo-banner strong span { font-weight: 400; }
.demo-banner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.demo-hero { align-items: center; padding-block: var(--section); }
.demo-hero p { margin-top: .75rem; }
.demo-enquiry { border-top: 1px solid var(--line); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

@media (max-width: 51rem) {
  .hero-grid, .feature-grid, .detail-row, .example-row, .contact-grid, .demo-hero, .demo-enquiry { grid-template-columns: 1fr; }
  .hero-copy > p { max-width: 45ch; }
  .hero h1 { max-width: 20ch; }
  .journey-board { width: min(100%, 36rem); }
  .feature-grid { gap: 1.35rem; }
  .header-contact { display: none; }
  /* Show the direct email first in one column so the form appearing never moves it. */
  .contact-aside { order: -1; }
  .detail-row { gap: .75rem; }
  .service-grid article { padding-inline: .7rem; }
}

@media (max-width: 35rem) {
  .header-row { min-height: 4rem; gap: .45rem; }
  .brand { gap: .38rem; font-size: 1.1rem; }
  .brand-mark { font-size: 1.8rem; }
  .primary-nav { gap: clamp(.28rem, 2vw, .8rem); }
  .primary-nav a { padding-inline: .12rem; font-size: .94rem; }
  .hero { padding-block: 2.7rem 2.85rem; }
  .hero-grid { gap: 1.65rem; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 3.7rem); }
  .hero-copy > p { margin-top: .9rem; }
  .hero-actions { margin-top: 1.05rem; }
  .section-heading { margin-bottom: .7rem; }
  .service-grid, .process { grid-template-columns: 1fr; }
  .service-grid article { padding: .65rem 0 .8rem; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .process { gap: 1.05rem; }
  .footer-row { gap: .6rem 1.3rem; }
}

@media (max-width: 22rem) {
  .header-row { flex-wrap: wrap; gap: 0 .65rem; padding-block: .3rem; }
}

@media (max-width: 19rem) {
  .quote-row { grid-template-columns: 1fr; }
}

.primary-nav .header-sign-in {
  justify-content: center;
  padding-inline: .75rem;
  border: 1px solid var(--navy);
  border-radius: .32rem;
  background: var(--ice);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.primary-nav .header-sign-in:hover {
  background: var(--navy);
  color: var(--paper);
}
.enquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[data-turnstile] { margin-bottom: 1rem; }
.button:disabled { opacity: .68; cursor: default; }
.form-output.form-error { background: #f9eae3; color: #712f20; }
.example-report { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 5vw, 4rem); align-items: center; }
.example-report p { color: var(--muted); margin: .75rem 0; }
.example-metrics { margin: 0; box-shadow: none; }
.example-metrics > div, .portal-files > li { display: flex; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
.example-metrics > div { padding: .58rem .3rem; }
.example-metrics > div + div { border-top: 1px solid var(--line); }
.example-metrics dd { font-weight: 700; font-variant-numeric: tabular-nums; }

.portal { min-height: 100vh; display: flex; flex-direction: column; }
.portal-header { border-bottom: 1px solid var(--line); }
.portal-nav, .portal-form-aside { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; }
.portal-nav a, .portal-link-button { color: var(--navy); font-weight: 650; }
.portal-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.portal-link-button { padding: .4rem 0; min-height: 2.75rem; text-decoration: underline; text-underline-offset: .15em; border: 0; background: none; }
.portal-preview-notice { padding: .5rem 0; background: var(--surface-tint); color: var(--navy); font-size: .95rem; }
.portal-main { flex: 1; padding-block: clamp(1.6rem, 5vw, 4rem); }
.portal-main h1 { font-size: clamp(2.65rem, 5vw, 4.1rem); overflow-wrap: anywhere; }
.portal-main h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.portal-main h3 { font-size: 1.45rem; }
.portal-main h4 { margin-block: .8rem .25rem; font-size: 1rem; }
.portal-heading { margin-bottom: 1.45rem; }
.portal-heading p, .portal-help p, .portal-meta, .portal-empty { margin-top: .4rem; color: var(--muted); }
.portal-help { overflow-wrap: anywhere; }
.portal-help form, .portal-help .button { margin-top: 1rem; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: clamp(1.4rem, 5vw, 3.6rem); }
.portal-project-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.portal-narrow { max-width: 34rem; }
.portal-narrow form, .portal-grid > .form-panel > form { margin-top: 1rem; }
.portal-list, .portal-files { list-style: none; padding: 0; }
.portal-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.2rem; padding: .9rem .65rem; border-block-start: 1px solid var(--line); }
.portal-row:last-child { border-block-end: 1px solid var(--line); }
.portal-row p { color: var(--muted); }
.portal-row > a { flex: none; }
.portal-details { display: grid; grid-template-columns: minmax(7rem, auto) minmax(0, 1fr); gap: .3rem .6rem; margin-top: .85rem; font-size: 1rem; }
.portal-details dt { font-weight: 650; }
.portal-details dd { margin: 0; }
.portal-form-aside { margin-top: 1rem; }
.portal-form-aside a { color: var(--navy); }
.portal-files { margin-top: .75rem; font-size: 1rem; }
.portal-files > li { flex-wrap: wrap; border-block-start: 1px solid var(--line); padding: .4rem 0; overflow-wrap: anywhere; }
.portal-files > li > div { display: flex; flex-wrap: wrap; gap: 0 .8rem; }
.portal-files a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--navy); font-weight: 650; }
.portal-revision { margin-top: .75rem; padding: .95rem 1.05rem; border-inline-start: 3px solid var(--navy); background: var(--paper); }
.portal-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.portal-revision .portal-notes { margin-top: .45rem; }
.portal-history { margin-top: 1.65rem; }
.portal-stack { display: grid; gap: .9rem; min-width: 0; }
.portal-management-group { border-bottom: 1px solid var(--line); padding-block: .6rem; }
.portal-draft-actions { display: grid; justify-items: start; gap: .65rem; margin-block: .35rem .85rem; }
.portal-draft-actions .form-panel { width: 100%; }
.portal-main > .form-output { margin-block: 0 1rem; }
.portal-secret { overflow-wrap: anywhere; }
.portal-frame { width: 100%; min-height: 62vh; background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 51rem) {
  .portal-grid, .example-report { grid-template-columns: 1fr; }
}
@media (max-width: 35rem) {
  /* The sign-in link appears after a status check. On phones it would wrap onto a
     second header row and push the page down, so phones use the footer link and the
     direct link in each invitation instead. */
  .primary-nav .header-sign-in { display: none; }
  .header-row, .primary-nav, .portal-row { flex-wrap: wrap; }
  .portal-nav { gap: 0 .8rem; }
  .portal-nav a, .portal-link-button { font-size: .95rem; }
}

