:root {
  --coral: #ff4054;
  --coral-dark: #d91f36;
  --coral-pale: #fff0f1;
  --primary-rgb: 255 64 84;
  --primary-dark-rgb: 217 31 54;
  --logo-colour-filter: none;
  --ink: #20191a;
  --muted: #6f6264;
  --paper: #fffaf7;
  --white: #ffffff;
  --line: #eadfdd;
  --error: #ad1630;
  --success: #17663a;
  --shadow: 0 28px 90px rgb(var(--primary-dark-rgb) / 14%);
  --radius-large: 2rem;
  --radius-medium: 0.875rem;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-palette="slate"] {
  --coral: #364b5a;
  --coral-dark: #243640;
  --coral-pale: #e8eef1;
  --paper: #f4f7f8;
  --primary-rgb: 54 75 90;
  --primary-dark-rgb: 36 54 64;
  --logo-colour-filter: brightness(0) saturate(100%) invert(28%) sepia(15%) saturate(994%)
    hue-rotate(161deg) brightness(87%) contrast(84%);
}

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

html {
  min-height: 100%;
}

body {
  height: 100vh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--coral);
  transition: background-color 240ms ease;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--coral-dark);
  text-underline-offset: 0.2em;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-main {
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(0.7rem, 1.6vw, 1.4rem);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(25rem, 1.2fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(2rem, 5vw, 6rem);
  row-gap: clamp(1rem, 2vh, 1.5rem);
  padding: clamp(2.5rem, 7vw, 7rem);
  overflow: hidden;
  color: var(--white);
  text-align: left;
  background: var(--coral);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: clamp(1.1rem, 2vw, var(--radius-large));
  box-shadow: none;
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(15rem, 30vw, 31rem);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
}

.hero::before {
  top: -16rem;
  right: -10rem;
}

.hero::after {
  bottom: -20rem;
  right: 12%;
  left: auto;
  width: clamp(22rem, 42vw, 42rem);
}

.hero__logo-panel {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  width: min(100%, 24rem);
  padding: clamp(1.25rem, 3vw, 2.75rem);
  background: var(--white);
  border-radius: clamp(1.2rem, 2.4vw, 2rem);
  box-shadow: 0 24px 60px rgb(var(--primary-dark-rgb) / 24%);
  transform: rotate(-2deg);
  transition: padding 240ms ease, background-color 240ms ease, border-radius 240ms ease,
    box-shadow 240ms ease, transform 240ms ease;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: var(--logo-colour-filter);
  transition: filter 240ms ease;
}

.display-controls {
  position: absolute;
  top: clamp(1.1rem, 2vw, 2rem);
  right: clamp(1.1rem, 2vw, 2rem);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  max-width: calc(100% - 2.2rem);
  padding: 0.35rem;
  background: rgb(32 25 26 / 18%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgb(var(--primary-dark-rgb) / 12%);
  backdrop-filter: blur(12px);
}

.display-controls__label {
  padding: 0 0.8rem 0 0.65rem;
  color: rgb(255 255 255 / 66%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.palette-control {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.5rem 0.2rem 0.75rem;
  color: rgb(255 255 255 / 88%);
  background: transparent;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 18%);
  font-size: 0.76rem;
  font-weight: 700;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.palette-control select {
  min-height: 1.85rem;
  max-width: 9.5rem;
  padding: 0.2rem 1.65rem 0.2rem 0.6rem;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.palette-control select:focus-visible {
  outline: 3px solid rgb(255 255 255 / 55%);
  outline-offset: 3px;
}

.display-toggle {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.55rem 0.35rem 0.75rem;
  color: rgb(255 255 255 / 88%);
  background: transparent;
  border: 0;
  border-left: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.display-toggle:hover {
  color: var(--white);
  background: rgb(255 255 255 / 9%);
}

.display-toggle:focus-visible {
  outline: 3px solid rgb(255 255 255 / 55%);
  outline-offset: 3px;
}

.display-toggle__track {
  position: relative;
  width: 2.15rem;
  height: 1.2rem;
  flex: 0 0 auto;
  background: rgb(255 255 255 / 28%);
  border-radius: 999px;
  transition: background-color 200ms ease;
}

.display-toggle__thumb {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  width: 0.88rem;
  height: 0.88rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgb(32 25 26 / 22%);
  transition: transform 200ms ease;
}

.display-toggle[aria-pressed="true"] .display-toggle__track {
  background: var(--ink);
}

.display-toggle[aria-pressed="true"] .display-toggle__thumb {
  transform: translateX(0.95rem);
}

body.logo-panel-off .hero__logo-panel {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-2deg) scale(1.06);
}

body.logo-panel-off .hero__logo {
  filter: brightness(0) invert(1);
}

body.theme-inverse {
  background: var(--paper);
}

body.theme-inverse .hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 0%, rgb(var(--primary-rgb) / 12%), transparent 25rem),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

body.theme-inverse .hero::before,
body.theme-inverse .hero::after {
  border-color: rgb(var(--primary-rgb) / 22%);
}

body.theme-inverse .hero h1 {
  color: var(--coral);
}

body.theme-inverse .hero p {
  color: var(--coral);
}

body.theme-inverse .hero__logo-panel {
  background: var(--coral);
  box-shadow: 0 24px 60px rgb(var(--primary-rgb) / 22%);
}

body.theme-inverse .hero__logo {
  filter: brightness(0) invert(1);
}

body.theme-inverse.logo-panel-off .hero__logo-panel {
  background: transparent;
  box-shadow: none;
}

body.theme-inverse.logo-panel-off .hero__logo {
  filter: var(--logo-colour-filter);
}

body.theme-inverse .hero .button--primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 34px rgb(var(--primary-rgb) / 28%);
}

body.theme-inverse .hero .button--primary:hover {
  color: var(--white);
  background: var(--coral-dark);
}

body.theme-inverse .display-toggle,
body.theme-inverse .palette-control {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

body.theme-inverse .display-toggle:hover {
  background: var(--coral-pale);
}

body.theme-inverse .display-controls {
  background: rgb(255 255 255 / 82%);
  border-color: rgb(var(--primary-rgb) / 20%);
  box-shadow: 0 10px 30px rgb(var(--primary-rgb) / 10%);
}

body.theme-inverse .display-controls__label {
  color: var(--coral-dark);
}

body.theme-inverse .display-toggle:focus-visible,
body.theme-inverse .palette-control select:focus-visible {
  outline-color: rgb(var(--primary-rgb) / 40%);
}

body.theme-inverse .display-toggle__track {
  background: rgb(32 25 26 / 18%);
}

body.theme-inverse .display-toggle[aria-pressed="true"] .display-toggle__track {
  background: var(--coral);
}

body.theme-inverse .site-footer {
  color: var(--muted);
  background: rgb(255 255 255 / 74%);
  border-color: var(--line);
}

body.theme-inverse .site-footer .text-button:hover {
  color: var(--coral-dark);
}

.hero__content {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-width: 49rem;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 5.4vw, 5.6rem);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero p {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero .button--primary {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  min-width: 13rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 34px rgb(var(--primary-dark-rgb) / 30%);
}

.hero .button--primary:hover {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 18px 38px rgb(var(--primary-dark-rgb) / 35%);
}

.button {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button--primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 30px rgb(var(--primary-rgb) / 27%);
}

.button--primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 16px 34px rgb(var(--primary-dark-rgb) / 30%);
  transform: translateY(-2px);
}

.button--primary:active {
  transform: translateY(0);
}

.button:focus-visible,
.text-button:focus-visible,
.inline-button:focus-visible,
.dialog__close:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(var(--primary-rgb) / 35%);
  outline-offset: 3px;
}

.site-footer {
  position: fixed;
  right: clamp(1.6rem, 3vw, 3rem);
  bottom: clamp(1.35rem, 2.8vw, 2.6rem);
  z-index: 3;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.65rem 0.95rem;
  color: rgb(255 255 255 / 82%);
  background: rgb(32 25 26 / 18%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.text-button,
.inline-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.text-button:hover,
.inline-button:hover {
  color: var(--coral-dark);
}

.site-footer .text-button:hover {
  color: var(--white);
}

.dialog {
  width: min(calc(100% - 2rem), 46rem);
  max-height: min(90dvh, 52rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 35px 100px rgb(32 25 26 / 28%);
}

.dialog--privacy {
  width: min(calc(100% - 2rem), 50rem);
  height: min(90dvh, 52rem);
}

.dialog--form {
  width: min(calc(100% - 2rem), 52rem);
  max-height: calc(100dvh - 1.5rem);
}

.dialog::backdrop {
  background: rgb(32 25 26 / 64%);
  backdrop-filter: blur(5px);
}

.dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-in 180ms ease-out;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.985);
  }
}

.dialog__header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 2.75rem) clamp(1.25rem, 5vw, 2.75rem) 0;
}

.dialog__header--sticky {
  position: relative;
  z-index: 2;
  padding-bottom: 1.25rem;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dialog h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.dialog__close {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--coral-pale);
  border: 0;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.dialog__close:hover {
  color: var(--white);
  background: var(--coral);
}

.enquiry-form {
  padding: clamp(1rem, 2.5vh, 1.75rem) clamp(1.2rem, 3vw, 2rem) clamp(1.15rem, 3vh, 2rem);
}

.dialog--form .dialog__header {
  padding: clamp(1.1rem, 2.5vh, 1.75rem) clamp(1.2rem, 3vw, 2rem) 0;
}

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

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

.field label {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.field label span {
  color: var(--coral-dark);
}

.field label .optional {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: #fffdfc;
  border: 1px solid #d8ccca;
  border-radius: var(--radius-medium);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input {
  min-height: 2.75rem;
}

.field textarea {
  min-height: 5.25rem;
  max-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:hover,
.field textarea:hover {
  border-color: #ae9e9c;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--coral);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(173 22 48 / 10%);
}

.field__error {
  margin: 0.3rem 0 0;
  color: var(--error);
  font-size: 0.78rem;
  line-height: 1.35;
}

.field__error:empty {
  display: none;
}

.privacy-summary {
  margin: 0.45rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.button--submit {
  width: 100%;
}

.button--submit[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-medium);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status--error {
  color: var(--error);
  background: rgb(173 22 48 / 7%);
  border: 1px solid rgb(173 22 48 / 17%);
}

.form-status--success {
  color: var(--success);
  background: rgb(23 102 58 / 8%);
  border: 1px solid rgb(23 102 58 / 18%);
}

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

.privacy-content {
  min-height: 0;
  flex: 1 1 auto;
  margin: 0.55rem 0.7rem 0.7rem 0;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem)
    clamp(1.25rem, 5vw, 2.75rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--coral) var(--coral-pale);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.privacy-content::-webkit-scrollbar {
  width: 0.65rem;
}

.privacy-content::-webkit-scrollbar-track {
  background: var(--coral-pale);
  border-radius: 999px;
}

.privacy-content::-webkit-scrollbar-thumb {
  background: var(--coral);
  border: 2px solid var(--coral-pale);
  border-radius: 999px;
}

.privacy-content::-webkit-scrollbar-thumb:hover {
  background: var(--coral-dark);
}

.privacy-intro {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.65;
}

.privacy-plain {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--coral-pale);
  border: 1px solid rgb(var(--primary-rgb) / 18%);
  border-radius: 1rem;
}

.privacy-plain .eyebrow {
  margin-bottom: 0.55rem;
}

.privacy-plain h3 {
  max-width: 34rem;
  margin: 0;
  color: var(--coral-dark);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.privacy-plain p:not(.eyebrow) {
  margin: 0.8rem 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.65;
}

.privacy-content section {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.privacy-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.privacy-content section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.privacy-content section p + p {
  margin-top: 0.75rem;
}

.privacy-content .right-to-object {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--coral-pale);
  border-left: 3px solid var(--coral);
  border-radius: 0 0.5rem 0.5rem 0;
  font-weight: 650;
}

.privacy-updated {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  body {
    height: auto;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-main {
    height: auto;
    min-height: 0;
    padding: 0.5rem;
  }

  .hero {
    height: auto;
    min-height: calc(100svh - 1rem);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    justify-items: center;
    gap: clamp(1.1rem, 3.2vh, 1.75rem);
    padding: clamp(0.85rem, 2.5vw, 1.25rem) clamp(1rem, 4vw, 2rem) clamp(5.75rem, 11vh, 7rem);
    border-radius: 1.15rem;
  }

  .display-controls {
    position: static;
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    justify-content: flex-end;
    width: 100%;
    max-width: none;
  }

  .hero__logo-panel {
    grid-column: 1;
    grid-row: 2;
    width: clamp(9.5rem, 42vw, 13.5rem);
    padding: clamp(1rem, 4vw, 1.5rem);
    justify-self: center;
    border-radius: 1.15rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 4.1rem);
    line-height: 0.98;
  }

  .hero__content {
    grid-column: 1;
    grid-row: 3;
    max-width: 40rem;
    text-align: center;
  }

  .hero p {
    max-width: 34rem;
    margin: 0.9rem auto 0;
    font-size: clamp(0.98rem, 3.8vw, 1.12rem);
    line-height: 1.5;
  }

  .hero .button--primary {
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    width: clamp(9.5rem, 42vw, 13.5rem);
  }

  .site-footer {
    position: static;
    width: fit-content;
    margin: -4.7rem auto 1rem;
    justify-content: center;
    padding: 0.55rem 0.8rem;
  }

  .form-grid {
    gap: 0.5rem 0.75rem;
  }

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

  .dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 1.15rem;
  }

  .dialog--privacy {
    height: calc(100dvh - 1rem);
  }

  .dialog--form .enquiry-form {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--coral) var(--coral-pale);
    scrollbar-width: thin;
  }
}

@media (max-width: 520px) {
  .hero {
    gap: 1.15rem;
    padding: 0.75rem 1rem 5.75rem;
  }

  .display-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    padding: 0.5rem;
    border-radius: 1rem;
  }

  .display-controls__label {
    display: none;
  }

  .palette-control {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.1rem;
    padding: 0.1rem 0.2rem 0.5rem;
    border-left: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .display-toggle {
    justify-content: space-between;
    padding: 0.35rem 0.45rem;
    gap: 0.45rem;
    font-size: 0.7rem;
  }

  .display-toggle:first-of-type {
    border-left: 0;
  }

  body.theme-inverse .palette-control {
    border-bottom-color: var(--line);
  }

  .hero__logo-panel {
    width: clamp(9rem, 45vw, 11rem);
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.15rem);
  }

  .hero .button--primary {
    width: clamp(9rem, 45vw, 11rem);
  }

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

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

  .dialog--form .dialog__header {
    padding-top: 0.9rem;
  }

  .enquiry-form {
    padding-top: 0.8rem;
  }
}

@media (max-height: 600px) {
  .dialog--form[open] {
    overflow-y: auto;
  }
}

@media (max-width: 820px) and (orientation: landscape) {
  .hero {
    min-height: calc(100svh - 1rem);
    grid-template-columns: minmax(8rem, 0.65fr) minmax(0, 1.35fr);
    grid-template-rows: auto auto auto;
    justify-items: start;
    column-gap: clamp(1.5rem, 5vw, 3rem);
    row-gap: 0.85rem;
    padding: 0.75rem 1.25rem 4.75rem;
  }

  .display-controls {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero__logo-panel {
    grid-column: 1;
    grid-row: 2 / 4;
    width: min(100%, 10rem);
    padding: 0.85rem;
  }

  .hero__content {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(2rem, 6.5vw, 3.2rem);
  }

  .hero p {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero .button--primary {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    width: min(100%, 10rem);
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
