@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --brand: #0068b5;
  --brand-hover: #00538f;
  --ink: #152e41;
  --muted: #576976;
  --line: #dbe3e8;
  --field-line: #8093a2;
  --surface: #ffffff;
  --hero-surface: #f4f8fc;
  --hero-surface-end: #e6f0fa;
  --amber: #f2a900;
  --footer-surface: #0d2236;
  --footer-text: #c5d3df;
  --footer-focus: #9ed6ff;
  --error: #a52b28;
  --focus: #004e86;
  --gutter: clamp(32px, 5.55vw, 80px);
  --ease: 180ms ease;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--surface); }
/* Hazard-tape strip across the top of every page. */
body::before { content: ""; flex: none; height: 6px; background: repeating-linear-gradient(-45deg, var(--amber) 0 12px, var(--ink) 12px 24px); }
button, input { font: inherit; }
a { color: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus, section:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip-link { position: fixed; z-index: 10; top: 12px; left: 20px; padding: 12px 18px; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page { flex: 1 0 auto; width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; }

/* Header */
.site-header { min-height: 104px; padding-block: 22px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand-home { display: inline-flex; align-items: center; min-height: 44px; border-radius: 4px; }
.brand-home picture { display: block; }
.brand-logo { width: 260px; max-width: 100%; height: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 34px; }
.group-name { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 4px; min-height: 44px; color: var(--muted); font-size: .875rem; line-height: 1.6; text-decoration: none; }
.group-name strong { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: color var(--ease), text-decoration-color var(--ease); }
.group-name:hover strong { color: var(--brand); text-decoration-color: currentColor; }
.external-link::after { content: "\2197" / ""; margin-left: 6px; font-size: .8em; }

/* Hero */
main { display: block; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 3.6vw, 56px); margin-block: 32px 24px; padding: clamp(32px, 3.6vw, 56px); background: linear-gradient(135deg, var(--hero-surface) 0%, var(--hero-surface-end) 100%); border-radius: 32px; }
.hero-content { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--brand); font-size: .8125rem; line-height: 1.5; letter-spacing: .06em; font-weight: 600; text-transform: uppercase; }
.status-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 1px #c88c00; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); animation: status-pulse 2.4s ease-out infinite; }
@keyframes status-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
h1 { margin: 0 0 24px; font-size: clamp(3rem, 4.6vw, 4.125rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
h1 span { color: var(--brand); }
.intro { max-width: 30rem; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.8; }
.intro strong { color: var(--ink); font-weight: 600; }

/* Indeterminate "construction tape" progress bar: no percentage is claimed. */
.build-status { max-width: 30rem; margin-top: 28px; }
.build-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; margin: 0 0 10px; color: var(--ink); font-size: .8125rem; line-height: 1.5; font-weight: 600; }
.build-tag { color: var(--muted); font-weight: 500; }
.build-bar { position: relative; height: 10px; overflow: hidden; border-radius: 999px; background: var(--ink); }
.build-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: -28.28px; right: 0; background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--ink) 10px 20px); animation: build-tape 1.1s linear infinite; }
@keyframes build-tape { to { transform: translateX(28.28px); } }

.enquiries { margin-top: 28px; padding-top: 26px; border-top: 1px solid #cfdbe5; scroll-margin-top: 28px; }
.contact-form label { display: block; margin-bottom: 10px; font-size: .875rem; line-height: 1.5; font-weight: 600; }
.required-note { font-weight: 400; color: var(--muted); }
.contact-row { display: flex; align-items: stretch; gap: 10px; }
.input-frame { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; padding-left: 18px; border: 1px solid var(--field-line); border-radius: 28px; background: var(--surface); transition: border-color var(--ease), box-shadow var(--ease); }
.input-frame:focus-within { border-color: var(--brand); outline: 3px solid var(--focus); outline-offset: 3px; }
.input-frame:has([aria-invalid="true"]) { border-color: var(--error); }
.field-icon { color: var(--muted); flex: 0 0 auto; }
.contact-row input { width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px 14px 0; border: 0; border-radius: 28px; color: var(--ink); background: transparent; font-size: 1rem; line-height: 1.5; }
.contact-row input:focus-visible { outline: 0; }
.contact-row input::placeholder { color: var(--muted); opacity: 1; }
.contact-button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; flex: 0 0 auto; padding: 14px 24px; border: 1px solid var(--brand); border-radius: 28px; background: linear-gradient(110deg, #005397, var(--brand)); color: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.5; text-decoration: none; white-space: nowrap; transition: background var(--ease), border-color var(--ease), box-shadow var(--ease); }
.contact-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); box-shadow: 0 3px 10px #004e861a; }
.contact-button:active { background: var(--focus); box-shadow: none; }
.contact-button:disabled { background: #526678; border-color: #526678; cursor: not-allowed; box-shadow: none; }
.email-hint { margin: 10px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.field-error { margin: 10px 0 0; color: var(--error); font-size: .875rem; line-height: 1.6; }
.contact-button { gap: 8px; }
.button-icon { flex: none; transition: transform var(--ease); }
.contact-button:hover .button-icon { transform: translateX(3px); }
.contact-form[aria-busy="true"] .contact-button { cursor: progress; }
/* Spam trap: clipped to nothing and skipped by Tab, so people never see or reach it. */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.contact-form { position: relative; }
.form-success { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid #b9dcc6; border-left: 4px solid #1d7a45; border-radius: 16px; background: #fff; color: var(--ink); }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-success-icon { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #e3f3e9; color: #1d7a45; }
.form-success p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.form-success .form-success-title { margin-bottom: 2px; color: var(--ink); font-size: 1rem; font-weight: 700; }
.direct-contact { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; margin: 16px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.email-address { display: inline-block; min-width: 0; min-height: 44px; max-width: 100%; padding-block: 10px; overflow-wrap: anywhere; color: var(--ink); text-decoration-color: #8093a2; text-underline-offset: 5px; transition: color var(--ease), text-decoration-color var(--ease); }
.email-address:hover { color: var(--brand); text-decoration-color: var(--brand); }

/* Illustration */
.hero-illustration, .error-illustration { min-width: 0; }
.site-build, .error-scene { display: block; width: 100%; height: auto; forced-color-adjust: none; }
.site-build { filter: drop-shadow(0 24px 40px #0d22361a); }
.il-gear-big, .il-gear-small, .il-gear-tiny { transform-box: fill-box; transform-origin: center; }
.il-gear-big { animation: il-spin 18s linear infinite; }
.il-gear-small { animation: il-spin 12s linear infinite reverse; }
.il-gear-tiny { animation: il-spin 9s linear infinite; }
.il-load { transform-origin: 379px 107px; animation: il-hoist 7s ease-in-out infinite; }
.il-hook { transform-origin: 160px 46px; animation: il-sway 4s ease-in-out infinite; }
.il-float { animation: il-float 6s ease-in-out infinite; }
.il-float-alt { animation-delay: -3s; }
.il-caret { animation: il-blink 1.1s steps(1) infinite; }
.il-slot { animation: il-march 1.4s linear infinite; }
.il-draw { stroke-dasharray: 60; stroke-dashoffset: 60; animation: il-draw 5s ease-in-out infinite; }
.il-draw-late { animation-delay: .5s; }
@keyframes il-spin { to { transform: rotate(360deg); } }
@keyframes il-hoist { 0%, 100% { transform: translateY(-56px) rotate(-1.2deg); } 50% { transform: translateY(-4px) rotate(.8deg); } }
@keyframes il-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes il-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes il-blink { 50% { opacity: 0; } }
@keyframes il-march { to { stroke-dashoffset: -18; } }
@keyframes il-draw { 0%, 10% { stroke-dashoffset: 60; } 55%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }

/* Footer: navy skyline rising out of the page */
.site-footer { --footer-pad: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))); --skyline: clamp(72px, 8.33vw, 160px); position: relative; margin-top: var(--skyline); background: var(--footer-surface); color: var(--footer-text); font-size: .9375rem; line-height: 1.75; }
.site-footer :focus-visible { outline-color: var(--footer-focus); outline-offset: 3px; }
.footer-skyline { position: absolute; left: 0; bottom: calc(100% - 1px); display: block; width: 100%; height: var(--skyline); overflow: hidden; }
.sk-gear { transform-box: fill-box; transform-origin: center; animation: il-spin 40s linear infinite; }
.sk-load { transform-origin: 1050px 29px; animation: il-sway 5s ease-in-out infinite; }
.sk-load-small { transform-origin: 270px 28px; animation: il-sway 4s ease-in-out infinite reverse; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; padding: clamp(48px, 5vw, 72px) var(--footer-pad) clamp(40px, 4vw, 56px); }
.footer-logo { display: block; width: 230px; max-width: 100%; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 25rem; margin: 0; }
.footer-brand .footer-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 6px 14px 6px 12px; border: 1px solid #ffffff33; border-radius: 999px; color: #fff; font-size: .75rem; line-height: 1.5; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-title { margin: 0 0 12px; color: #fff; font-size: .8125rem; line-height: 1.5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-title::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: var(--amber); }
.footer-col p { margin: 0 0 12px; }
.footer-email { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: #ffffff59; text-underline-offset: 6px; transition: text-decoration-color var(--ease); }
.footer-email span { overflow-wrap: anywhere; }
.footer-email svg { flex: none; color: var(--amber); }
.footer-email:hover { text-decoration-color: currentColor; }
.footer-button { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border: 1px solid #ffffff66; border-radius: 999px; color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.footer-button:hover { border-color: #fff; background: #fff; color: var(--footer-surface); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding: 14px var(--footer-pad) 18px; border-top: 1px solid #ffffff24; font-size: .8125rem; }
.footer-bottom p { margin: 0; padding-block: 10px; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--footer-text); font-weight: 600; text-decoration: none; transition: color var(--ease); }
.back-to-top:hover { color: #fff; }
.back-to-top span { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid #ffffff40; border-radius: 50%; transition: border-color var(--ease), transform var(--ease); }
.back-to-top:hover span { border-color: var(--amber); transform: translateY(-2px); }

/* 404 */
.error-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 48px; margin-block: 32px; padding: clamp(40px, 4vw, 64px) clamp(32px, 3.6vw, 56px); background: linear-gradient(135deg, var(--hero-surface) 0%, var(--hero-surface-end) 100%); border-radius: 32px; }
.error-content { min-width: 0; }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.error-illustration { justify-self: center; width: 100%; max-width: 440px; }

@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .group-name { flex-direction: column; align-items: flex-start; justify-content: center; }
  .input-frame { padding-left: 12px; gap: 8px; }
  .field-icon { display: none; }
  .contact-button { padding-inline: 18px; }
}
@media (max-width: 960px) {
  :root { --gutter: 36px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 32px 40px; }
  .hero-content { max-width: 650px; }
  h1 { font-size: clamp(3rem, 7vw, 4.375rem); }
  .intro, .build-status, .enquiries { max-width: 36rem; }
  .field-icon { display: block; }
  .input-frame { padding-left: 16px; gap: 12px; }
  .hero-illustration { order: -1; justify-self: center; width: 100%; max-width: 560px; }
  .error-main { grid-template-columns: 1fr; padding: 40px 32px; }
  .error-illustration { max-width: 360px; justify-self: start; grid-row: 1; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  .site-header { min-height: 96px; padding-block: 22px; gap: 20px; }
  .brand-logo { width: 215px; }
  .header-right { flex-shrink: 0; }
  .group-name { font-size: .8125rem; line-height: 1.45; }
  .hero { padding: 16px 20px 32px; margin-block: 24px 16px; gap: 20px; border-radius: 24px; }
  .eyebrow { font-size: .75rem; letter-spacing: .055em; margin-bottom: 22px; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
  .intro { font-size: 1rem; line-height: 1.8; }
  .build-status { margin-top: 24px; }
  .enquiries { margin-top: 24px; padding-top: 22px; }
  .hero-illustration { margin-inline: -8px; width: calc(100% + 16px); }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 36px; }
  .footer-logo { width: 200px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 0; }
  .error-main { padding: 32px 24px; margin-block: 24px; border-radius: 24px; gap: 24px; }
  .error-actions { align-items: stretch; flex-direction: column; }
}
@media (max-width: 480px) {
  .brand-logo { width: 190px; }
  .contact-row { flex-direction: column; gap: 10px; }
  .contact-button { width: 100%; min-height: 52px; }
  .direct-contact { row-gap: 0; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .brand-logo { width: 156px; }
  .site-header { gap: 12px; }
  h1 { font-size: 2.25rem; }
  .eyebrow { font-size: .6875rem; }
  .hero, .error-main { padding-inline: 18px; }
  .field-icon { display: none; }
  .input-frame { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .il-draw { stroke-dashoffset: 0; }
  .il-load { transform: translateY(-30px); }
}
@media (forced-colors: active) {
  .input-frame:focus-within { outline: 2px solid Highlight; }
  .site-footer { border-top: 1px solid CanvasText; }
}
