@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/commissioner-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: oklch(97.5% 0.008 88);
  --surface: oklch(99.2% 0.004 88);
  --ink: oklch(25% 0.026 248);
  --slate: oklch(47% 0.022 248);
  --blue: oklch(39% 0.095 252);
  --blue-deep: oklch(30% 0.078 254);
  --rule: oklch(84% 0.015 248);
  --control: oklch(66% 0.025 248);
  --focus: oklch(68% 0.14 84);
  --on-blue: oklch(98.5% 0.005 88);
  --font: "Commissioner", "Avenir Next", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  background: var(--blue);
  color: var(--on-blue);
}

.shell {
  width: min(1216px, calc(100% - clamp(40px, 8vw, 128px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 15px;
  border: 2px solid var(--blue);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  color: var(--blue-deep);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 610;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.header-links a,
.site-footer a {
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 540;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 140ms var(--ease-out), text-decoration-thickness 140ms var(--ease-out);
}

.header-links a:hover,
.site-footer a:hover {
  color: var(--blue);
  text-decoration-thickness: 2px;
}

main {
  display: grid;
}

.holding {
  min-height: clamp(650px, calc(100vh - 161px), 860px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
}

.introduction,
.enquiry {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.introduction {
  padding: clamp(72px, 9vw, 136px) clamp(48px, 8vw, 112px) clamp(72px, 9vw, 136px) 0;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  background: var(--blue);
}

h1 {
  max-width: 7ch;
  margin: clamp(28px, 4vw, 50px) 0 0;
  color: var(--blue-deep);
  font-size: clamp(4.4rem, 8.5vw, 7.6rem);
  font-weight: 570;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.introduction-copy {
  max-width: 37ch;
  margin: clamp(34px, 5vw, 58px) 0 0;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.contact-details {
  margin-top: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-style: normal;
}

.contact-details a {
  color: var(--blue-deep);
  font-size: 0.9375rem;
  font-weight: 520;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-details a:hover {
  color: var(--blue);
  text-decoration-thickness: 2px;
}

.enquiry {
  padding: clamp(72px, 9vw, 136px) 0 clamp(72px, 9vw, 136px) clamp(48px, 7vw, 96px);
  border-left: 1px solid var(--rule);
}

.enquiry-heading {
  max-width: 31rem;
}

.enquiry-heading h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 570;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.enquiry-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--slate);
}

form {
  width: 100%;
  max-width: 34rem;
  margin-top: clamp(32px, 4vw, 44px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--control);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
  transition: border-color 140ms var(--ease-out), outline-color 140ms var(--ease-out);
}

.field input,
.field select {
  min-height: 50px;
  padding: 11px 13px;
}

.field select {
  cursor: pointer;
}

.field textarea {
  min-height: 126px;
  padding: 12px 13px;
  line-height: 1.5;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--slate);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--blue);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-actions button {
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  background: var(--blue);
  color: var(--on-blue);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 590;
  transition: background-color 140ms var(--ease-out), border-color 140ms var(--ease-out);
}

.form-actions button:hover {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.form-actions button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.form-actions p {
  margin: 0;
  color: var(--slate);
  font-size: 0.8125rem;
}

.site-footer {
  border-top: 1px solid var(--rule);
}

.footer-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--slate);
  font-size: 0.75rem;
}

.legal-page,
.status-page {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(64px, 12vw, 132px) 0;
}

.legal-page h1,
.status-page h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}

.legal-page h2 {
  margin: 42px 0 10px;
  font-size: 1.35rem;
  font-weight: 570;
  letter-spacing: -0.025em;
}

.legal-page p,
.status-page p {
  max-width: 64ch;
  margin: 20px 0 0;
  color: var(--slate);
}

.legal-page a,
.status-page a {
  color: var(--blue-deep);
  text-underline-offset: 4px;
}

.status-page .button-link {
  min-height: 50px;
  width: fit-content;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 2px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 0.875rem;
  font-weight: 590;
  text-decoration: none;
}

@media (max-width: 900px) {
  .holding {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .introduction {
    padding-right: 0;
  }

  .enquiry {
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  form {
    max-width: 42rem;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 32px, 1216px);
  }

  .header-inner {
    min-height: 78px;
  }

  .introduction,
  .enquiry {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
