@font-face {
  font-family: "Saira";
  src: url("/assets/fonts/saira-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --board: #f5f6f3;
  --plate: #ffffff;
  --ink: #18232c;
  --muted: #4a5560;
  --live: #6e3f1e;
  --neutral: #1d4f91;
  --earth: #1f7a3a;
  --earth-yellow: #f2c230;
  --copper: #a9551e;
  --copper-dark: #8a4415;
  --copper-warm: #e08a4a;
  --pale: #aeb8c0;
  --line: #cdd3d7;
  --steel: #dfe3e6;
  --steel-edge: #8f9aa3;
  --error: #a4261d;
  --success: #1f7a3a;
  --focus: #1d4f91;
  --placeholder: #ffe14d;
  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --pad: 2.75rem;
  --spine: 0.75rem;
}

@media (min-width: 48em) {
  :root {
    --pad: 5.5rem;
    --spine: 1.75rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.5rem);
  font-weight: 650;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 650;
}

h3 {
  font-size: 1.25rem;
  font-weight: 620;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

a {
  color: var(--neutral);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
  text-decoration-thickness: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

main:focus,
.notice:focus,
.form-status:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--plate);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.preview-bar {
  background: var(--earth-yellow);
  color: var(--ink);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
}

.preview-bar p {
  margin: 0;
}

.ph {
  background: var(--placeholder);
  color: var(--ink);
  padding: 0 0.25em;
  border-radius: 0.2em;
  font-family: "Public Sans", system-ui, sans-serif;
  font-weight: 500;
}

.site-header {
  background: var(--ink);
  color: #ffffff;
}

.header-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0.625rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.1875rem;
  line-height: 1.1;
  margin-right: auto;
}

.brand:hover {
  color: #ffffff;
}

.brand-cores {
  display: inline-flex;
  gap: 2px;
}

.brand-cores span {
  width: 4px;
  height: 26px;
  background: var(--copper-warm);
}

.brand-cores span:nth-child(2) {
  background: #6f9bd8;
}

.brand-cores span:nth-child(3) {
  background: repeating-linear-gradient(to bottom, #3fae5c 0 7px, var(--earth-yellow) 7px 10px);
}

.site-nav {
  order: 3;
  flex-basis: 100%;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0 0.25rem;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.625rem;
  color: #e6eaed;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-list li:first-child a {
  padding-left: 0;
}

.nav-list a:hover {
  color: #ffffff;
  border-bottom-color: var(--pale);
}

.nav-list a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--copper-warm);
  font-weight: 650;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.end-unit :focus-visible {
  outline-color: #ffffff;
}

@media (min-width: 60em) {
  .site-nav {
    order: 2;
    flex-basis: auto;
  }

  .nav-list li:first-child a {
    padding-left: 0.625rem;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--ink);
  color: #ffffff;
}

.button-call {
  background: var(--copper);
  border-color: var(--copper);
  color: #ffffff;
}

.button-call:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: #ffffff;
}

.header-call {
  order: 2;
  min-height: 44px;
  padding: 0.375rem 1rem;
}

@media (min-width: 60em) {
  .header-call {
    order: 3;
  }
}

.button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.run {
  position: relative;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1rem 3.5rem var(--pad);
}

.run::before,
.run::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.run::before {
  left: var(--spine);
  width: 10px;
  background: linear-gradient(to right, var(--live) 0 4px, transparent 4px 5px, var(--neutral) 5px 9px, transparent 9px);
}

.run::after {
  left: calc(var(--spine) + 10px);
  width: 4px;
  background: repeating-linear-gradient(to bottom, var(--earth) 0 26px, var(--earth-yellow) 26px 34px);
}

.terminal {
  position: relative;
  padding: 2.75rem 0 1.5rem;
}

.terminal::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 2.85rem;
  left: calc(var(--spine) - var(--pad) - 6px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, transparent 43%, var(--ink) 43% 57%, transparent 57%), var(--steel);
}

.section-lead,
.lead {
  max-width: 40rem;
  color: var(--muted);
}

.lead {
  font-size: 1.1875rem;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

@media (min-width: 60em) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .hero.terminal::before {
    top: 4.15rem;
  }
}

.hero-drawing {
  margin: 0;
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem;
}

.hero-drawing svg {
  width: 100%;
  height: auto;
}

.d-ink {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.d-thin {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}

.d-wall {
  stroke: var(--ink);
  stroke-width: 2;
}

.d-hatch {
  stroke: var(--pale);
  stroke-width: 2;
}

.d-ground {
  stroke: var(--ink);
  stroke-width: 2;
}

.d-cable {
  fill: none;
  stroke: var(--muted);
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.d-pulse {
  fill: none;
  stroke: var(--copper-warm);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 200;
  stroke-dashoffset: 12;
  opacity: 0;
}

.d-lamp {
  fill: var(--earth);
  stroke: var(--ink);
  stroke-width: 2;
}

.d-label {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  fill: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .d-lamp {
    fill: var(--pale);
    animation: lamp-on 0.4s ease-out 2.1s 1 forwards;
  }

  .d-pulse {
    opacity: 1;
    animation: pulse-run 1.7s cubic-bezier(0.45, 0, 0.6, 1) 0.4s 1 forwards;
  }
}

@keyframes pulse-run {
  from {
    stroke-dashoffset: 12;
  }

  to {
    stroke-dashoffset: -101;
  }
}

@keyframes lamp-on {
  to {
    fill: var(--earth);
  }
}

.cores {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 1.25rem;
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.core {
  --core: var(--live);
  --offset: 0px;
  position: relative;
  background: var(--plate);
  border: 1px solid var(--line);
  border-left: 6px solid var(--core);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
}

.core::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  height: 4px;
  left: calc(var(--spine) + var(--offset) - var(--pad) - 7px);
  width: calc(var(--pad) - var(--spine) - var(--offset) + 1px);
  background: var(--core);
}

.core-neutral {
  --core: var(--neutral);
  --offset: 5px;
}

.core-earth {
  --core: var(--earth);
  --offset: 10px;
  border-left-color: var(--earth);
}

.core-earth::before {
  background: repeating-linear-gradient(to right, var(--earth) 0 14px, var(--earth-yellow) 14px 20px);
}

.core h3 {
  margin-bottom: 0.25rem;
}

.core p {
  margin: 0;
}

@media (min-width: 48em) {
  .core {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }

  .core h3 {
    margin: 0;
  }
}

.plate {
  position: relative;
  max-width: 52rem;
  margin: 1.5rem 0 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border: 1px solid var(--steel-edge);
  border-radius: 10px;
  background:
    radial-gradient(circle at 14px 14px, var(--steel-edge) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 14px) 14px, var(--steel-edge) 0 4px, transparent 5px),
    radial-gradient(circle at 14px calc(100% - 14px), var(--steel-edge) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), var(--steel-edge) 0 4px, transparent 5px),
    linear-gradient(180deg, #eef0f2, var(--steel));
}

.plate-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3125rem;
  margin: 0 0.75rem 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
}

.plate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0 2rem;
  margin: 0 0.75rem;
}

.plate-grid div {
  padding: 0.75rem 0;
  border-bottom: 1px solid #b7c0c6;
}

.plate-grid dt {
  font-size: 0.9375rem;
  color: #3b4650;
}

.plate-grid dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 1rem;
  display: grid;
  gap: 2.5rem 1.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 1.75rem;
  border-top: 3px solid var(--copper);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -1.2rem;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--copper);
  background: var(--board);
  font-family: var(--display);
  font-weight: 700;
}

.steps p {
  margin: 0;
}

@media (min-width: 48em) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.end {
  position: relative;
  padding: 2rem 0 0;
}

.end::before {
  content: "";
  position: absolute;
  top: 5rem;
  left: calc(var(--spine) - var(--pad));
  width: calc(var(--pad) - var(--spine));
  height: 14px;
  background: linear-gradient(to bottom, var(--live) 0 4px, transparent 4px 5px, var(--neutral) 5px 9px, transparent 9px 10px, var(--earth) 10px 14px);
}

.end-unit {
  position: relative;
  max-width: 42rem;
  background: var(--ink);
  color: #e6eaed;
  border-radius: 24px;
  padding: 2.25rem 1.5rem 1.75rem;
}

@media (min-width: 48em) {
  .end-unit {
    padding: 2.75rem 3rem 2.25rem;
  }
}

.end-unit h2 {
  color: #ffffff;
}

.end-unit a {
  color: #ffffff;
}

.end-lamp {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #3fae5c;
  box-shadow: 0 0 0 5px #24452f;
}

.end-phone {
  margin: 0.25rem 0 0.5rem;
}

.end-phone a {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.15;
  color: var(--ink);
  text-decoration-color: var(--copper);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.18em;
}

.end-unit .end-phone a {
  color: #ffffff;
  text-decoration-color: var(--copper-warm);
}

.end-email a {
  overflow-wrap: anywhere;
}

.end-unit .button-call {
  margin-top: 0.5rem;
}

.page-head {
  padding-top: 3rem;
  padding-bottom: 0.25rem;
}

@media (max-width: 59.99em) {
  .brand {
    font-size: 1.0625rem;
  }

  .header-call {
    font-size: 0.9375rem;
    padding: 0.25rem 0.875rem;
  }

  .nav-list a {
    font-size: 0.9375rem;
  }
}

.page-head.terminal::before {
  top: 3.25rem;
}

.prose {
  max-width: 44rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose h2 {
  margin-top: 2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  max-width: 44rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--copper);
}

.image-area {
  display: grid;
  place-content: center;
  gap: 0.25rem;
  aspect-ratio: 3 / 2;
  max-width: 36rem;
  margin: 1.5rem 0 1rem;
  padding: 1.5rem;
  border: 2px dashed var(--muted);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(45deg, transparent 0 14px, #e9ecee 14px 28px);
}

.image-area p {
  margin: 0;
  background: var(--board);
  padding: 0.125rem 0.5rem;
}

.image-area-shape {
  font-size: 0.9375rem;
}

.image-area-square {
  aspect-ratio: 1;
  max-width: 22rem;
}

.small {
  font-size: 0.9375rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 0 3rem;
}

@media (min-width: 60em) {
  .contact-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.contact-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.375rem 1rem;
  margin: 1rem 0 1.5rem;
}

.contact-details dt {
  font-weight: 700;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.useful {
  margin-top: 2rem;
}

.form-panel {
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  margin: 1rem 0 2rem;
}

.form-panel.terminal::before {
  content: none;
}

@media (min-width: 60em) {
  .form-panel {
    margin-top: 2.75rem;
    padding: 2rem;
  }
}

.enquiry {
  margin-top: 1rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label,
.field-group legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.field-group {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}

.field-group legend {
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 620;
  padding: 0;
}

.hint {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--muted);
  border-radius: 8px;
  background: var(--plate);
  color: var(--ink);
  font: inherit;
}

.input-short {
  max-width: 10rem;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-weight: 700;
  margin: 0.25rem 0 0;
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  margin-bottom: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 700;
}

.form-status-error {
  color: var(--error);
}

.form-status-success {
  color: var(--success);
}

.note {
  background: #fdf3d6;
  border-left: 4px solid var(--earth-yellow);
  padding: 0.75rem 1rem;
}

.notice {
  display: none;
  border-left: 4px solid;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--plate);
}

.notice:target {
  display: block;
}

.notice-success {
  border-color: var(--success);
}

.notice-error {
  border-color: var(--error);
}

.site-footer {
  background: var(--ink);
  color: #c9d0d5;
  padding: 2.75rem 0 1rem;
}

.footer-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--copper-warm);
}

.footer-grid {
  display: grid;
  gap: 1rem 3rem;
}

@media (min-width: 40em) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-name {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.25rem;
  color: #ffffff;
}

.footer-record {
  font-size: 0.9375rem;
}

.site-footer address {
  font-style: normal;
  margin-bottom: 1rem;
}

.footer-links,
.social {
  list-style: none;
  padding: 0;
}

.footer-links a,
.social a,
.site-footer address a {
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 24px;
}

.footer-base {
  border-top: 1px solid var(--muted);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.footer-base p {
  margin: 0 0 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .d-lamp {
    fill: var(--earth);
  }

  .d-pulse {
    display: none;
  }
}
