/* Design system — single stylesheet for the reference pages.
   Sections: tokens · header · buttons · hero · home rows · inner pages · footer · responsive */

/* Brand palette. Values are taken from page-general-legal.php, which holds the
   colours the client approved for the site. */
:root {
  --vam-gold: #b89552;
  --vam-gold-dark: #c4a765;
  --vam-gold-light: #d4bc83;
  --vam-gold-soft: rgba(196, 167, 101, .1);
  --vam-heading: #17191b;
  --vam-ink: #202326;
  --vam-muted: #8a9097;
  --vam-line: #e8e7e2;
  --vam-panel: #f4f3ef;
  --vam-dark: #17191b;
  --vam-dark-2: #202326;
  --vam-bar: #0d0e10;
  --vam-white: #fff;
  --vam-font: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --vam-shell: 1170px;
}

/* ---------- base ---------- */

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

.vam-body {
  margin: 0;
  color: var(--vam-ink);
  font-family: var(--vam-font);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  background: #fff;
  overflow-x: hidden;
}

.vam-body img {
  max-width: 100%;
  height: auto;
}

.vam-body h1,
.vam-body h2,
.vam-body h3 {
  font-family: var(--vam-font);
}

/* :where() keeps the reset at class-level specificity so component links win. */
.vam-body :where(a) {
  color: inherit;
  text-decoration: none;
}

.vam-body p {
  margin: 0 0 28px;
}

.vam-shell {
  width: 100%;
  max-width: var(--vam-shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- header ---------- */

.vam-header {
  position: relative;
  z-index: 60;
  background: var(--vam-dark);
}

.vam-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  background: none;
}

.vam-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--vam-shell);
  margin-inline: auto;
  padding: 10px 24px 0;
}

.vam-header__logo {
  display: block;
  flex: 0 0 auto;
}

.vam-header__logo img {
  display: block;
  width: 158px;
}

/* Outside the overlay pages the header sits in the document flow, so the
   mark is scaled down to stay inside the bar. */
.vam-header:not(.vam-header--overlay) {
  padding-bottom: 12px;
}

.vam-header:not(.vam-header--overlay) .vam-header__logo img {
  width: 168px;
}

.vam-header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 0;
  background: none;
  cursor: pointer;
}

.vam-header__toggle span {
  display: block;
  height: 2px;
  margin-bottom: 5px;
  background: #fff;
}

.vam-header__toggle span:last-child {
  margin-bottom: 0;
}

.vam-header__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 14px;
}

.vam-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vam-nav__link {
  display: inline-block;
  color: var(--vam-white);
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: .2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.vam-nav__link:hover {
  color: var(--vam-gold-light);
}

.vam-nav__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.vam-nav__actions .vam-nav__link {
  color: var(--vam-gold-light);
}

/* Over the hero the header sits on the gold panel, where the light gold link
   colour would disappear; the links go white there and turn gold on hover. */
.vam-header--overlay .vam-nav__actions .vam-nav__link {
  color: var(--vam-white);
}

.vam-nav__actions .vam-nav__link:hover {
  color: var(--vam-white);
}

/* account dropdown */
.vam-user {
  position: relative;
  align-items: center;
  gap: 8px;
}

.vam-user__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--vam-white);
  font: 900 14px/20px var(--vam-font);
  text-transform: uppercase;
  cursor: pointer;
}

.vam-user__caret {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.vam-user__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 190px;
  padding: 8px 0;
  background: var(--vam-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.vam-user.is-open .vam-user__dropdown {
  display: block;
}

.vam-user__dropdown a {
  display: block;
  padding: 9px 20px;
  color: var(--vam-white);
  font-size: 14px;
  font-weight: 600;
}

.vam-user__dropdown a:hover {
  background: var(--vam-gold-soft);
  color: var(--vam-gold-light);
}

.lfo-lang {
  position: relative;
}

.lfo-lang__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: var(--vam-white);
  font: 900 14px/20px var(--vam-font);
  text-transform: uppercase;
  cursor: pointer;
}

.lfo-lang__caret {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lfo-lang__flag {
  display: inline-flex;
}

/* `.vam-body img` sets max-width:100% + height:auto, which would squash the
   flags inside the narrow menu items, so the size is stated here. */
.lfo-lang__flag img,
.lfo-lang__item img {
  display: block;
  width: 18px;
  height: 12px;
  max-width: none;
}

.lfo-lang__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  /* Reset the older light-theme panel (theme.css) so both page types get the
     same compact dark strip. */
  min-width: 0;
  gap: 4px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: var(--vam-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.lfo-lang.is-open .lfo-lang__dropdown {
  display: flex;
}

/* Flags only: the language names live in aria-label/title, so each item is a
   small flag button instead of a text row. */
.lfo-lang__item {
  display: flex;
  padding: 7px;
  line-height: 0;
  opacity: .55;
  transition: opacity .2s ease, background-color .2s ease;
}

.lfo-lang__item:hover,
.lfo-lang__item:focus-visible {
  background: rgba(255, 255, 255, .08);
  opacity: 1;
}

.lfo-lang__item.is-current {
  background: var(--vam-gold-soft);
  opacity: 1;
}

/* ---------- buttons ---------- */

.vam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid currentColor;
  border-radius: 50px;
  background: none;
  color: var(--vam-gold);
  font: 900 16px/1 var(--vam-font);
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.vam-btn svg {
  width: 7px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Anchor buttons need to out-specify `.vam-body a { color: inherit }`. */
a.vam-btn,
a.vam-btn:hover {
  color: var(--vam-gold);
}

.vam-btn:hover {
  background: var(--vam-gold);
  border-color: var(--vam-gold);
  color: var(--vam-white);
}

a.vam-btn--light {
  color: var(--vam-white);
}

.vam-btn--light:hover,
a.vam-btn--light:hover {
  background: var(--vam-white);
  border-color: var(--vam-white);
  color: var(--vam-gold);
}

.vam-btn--solid,
a.vam-btn--solid,
a.vam-btn--solid:hover {
  background: var(--vam-gold);
  border-color: var(--vam-gold);
  color: var(--vam-white);
  font-size: 14px;
  padding: 0 30px;
}

.vam-btn--solid:hover {
  background: var(--vam-gold-dark);
  border-color: var(--vam-gold-dark);
}

.vam-btn--dark,
a.vam-btn--dark,
a.vam-btn--dark:hover {
  width: 100%;
  margin-top: 22px;
  border: 0;
  border-radius: 30px;
  background: var(--vam-gold);
  color: var(--vam-dark);
  font-size: 14px;
}

.vam-btn--dark:hover {
  background: var(--vam-gold-dark);
  color: var(--vam-dark);
}

/* ---------- home hero ---------- */

.vam-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--vam-dark);
}

/* The reference art is two images side by side, the right one tinted red. Both
   stay visible: the slide is desaturated, the right half is re-tinted in the
   brand gold, and a scrim keeps the white headline readable. */
.vam-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(13, 14, 16, .34) 0%,
      rgba(13, 14, 16, .4) 46%,
      rgba(13, 14, 16, .45) 62%,
      rgba(13, 14, 16, .55) 100%);
}

/* The right half is repainted in the brand gold, the way the reference paints it
   red: a dense gold layer lets ~18% of the photo through, so the panel still has
   texture but reads as a solid gold block behind the headline. */
.vam-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* keeps the white header navigation legible on the gold panel */
    linear-gradient(180deg, rgba(13, 14, 16, .5) 0, rgba(13, 14, 16, 0) 200px),
    linear-gradient(90deg, rgba(184, 149, 82, 0) 0 48%, rgb(184 149 82 / 22%) 54%, rgb(184 149 82 / 59%) 100%);
  pointer-events: none;
}

.vam-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

/* Photo lives in its own layer so it can be desaturated without touching the
   headline, the way a `filter` on the slide would. */
.vam-hero__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1);
}

.vam-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.vam-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: var(--vam-shell);
  margin-inline: auto;
  padding: 0 24px 78px;
}

.vam-hero__content {
  width: min(430px, 100%);
  margin-left: 62%;
}

.vam-hero__title {
  margin: 0 0 34px;
  color: var(--vam-white);
  font-size: 46px;
  line-height: 56px;
  font-weight: 700;
  /* The two hero photos stay visible behind a scrim, so the headline needs
     a soft shadow to keep its edge. */
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

/* ---------- home rows ---------- */

.vam-row {
  display: grid;
  align-items: stretch;
}

.vam-row--split {
  grid-template-columns: 1fr 1fr;
}

.vam-row--quad {
  grid-template-columns: 1.04fr 1.07fr .98fr 1.12fr;
}

.vam-media {
  min-height: 504px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vam-cell {
  display: flex;
  align-items: flex-start;
  padding: 70px 42px 50px;
}

.vam-cell--muted {
  background: var(--vam-panel);
}

.vam-cell--plain {
  margin: 30px 0 0;
  background: var(--vam-white);
}

.vam-cell__inner {
  width: 100%;
  max-width: 626px;
}

.vam-cell__title {
  margin: 0 0 22px;
  color: var(--vam-heading);
  font-size: 28px;
  line-height: 40px;
  font-weight: 900;
}

.vam-cell p {
  margin: 0 0 30px;
  color: var(--vam-ink);
  font-size: 16px;
  line-height: 28px;
}

/* red square + hairline accent taken from the reference panels */
.vam-accent {
  position: relative;
}

.vam-accent::before {
  content: "";
  position: absolute;
  top: 16px;
  width: 48px;
  height: 48px;
  background: var(--vam-gold);
}

.vam-accent::after {
  content: "";
  position: absolute;
  top: 40px;
  height: 1px;
  background: var(--vam-gold);
}

.vam-accent--left::before {
  left: 48px;
}

.vam-accent--left::after {
  left: 0;
  width: 48px;
}

.vam-accent--right::before {
  left: 21px;
}

.vam-accent--right::after {
  left: 69px;
  right: 0;
}

/* ---------- inner page banner ---------- */

.vam-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  padding: 120px 24px 46px;
  overflow: hidden;
  background-color: var(--vam-dark);
}

.vam-banner__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1);
}

/* Same two-image split as the home hero. The scrim is even, because the page
   title is centred across both halves. */
.vam-banner::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 14, 16, .62) 0%, rgba(13, 14, 16, .5) 50%, rgba(13, 14, 16, .58) 100%);
}

.vam-banner::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 14, 16, .45) 0, rgba(13, 14, 16, 0) 190px),
    linear-gradient(90deg, rgba(184, 149, 82, 0) 0 48%, rgba(184, 149, 82, .8) 54%, rgba(184, 149, 82, .8) 100%);
  pointer-events: none;
}

.vam-banner__title {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--vam-shell);
  margin: 0 auto;
  color: var(--vam-white);
  font-size: 46px;
  line-height: 77px;
  font-weight: 700;
  text-align: center;
}

/* ---------- inner page body + tabs ---------- */

.vam-page-body {
  display: grid;
  grid-template-columns: minmax(240px, 25%) 1fr;
  align-items: start;
  background: var(--vam-panel);
}

/* The tab wrapper only groups the buttons and panels for the script; it must
   not create a box, otherwise both grid columns collapse into one. */
.vam-tabs {
  display: contents;
}

.vam-tabs__nav {
  display: flex;
  flex-direction: column;
  padding: 0 0 40px clamp(16px, 6vw, 71px);
}

.vam-tab {
  position: relative;
  padding: 35px 44px 35px 35px;
  border: 0;
  background: none;
  color: var(--vam-ink);
  font: 400 15px/22px var(--vam-font);
  text-align: left;
  cursor: pointer;
}

.vam-tab:hover {
  background: rgba(255, 255, 255, .55);
}

.vam-tab::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9097' stroke-width='2'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vam-tab.is-active {
  background: var(--vam-white);
  font-weight: 900;
}

.vam-tab.is-active::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 12px;
  vertical-align: -3px;
  background: var(--vam-gold);
}

.vam-tabs__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 267px;
  align-items: start;
  min-width: 0;
  background: var(--vam-white);
}

.vam-pane {
  display: none;
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 90px;
}

.vam-pane.is-active {
  display: block;
}

.vam-pane__title {
  margin: 80px 40px 30px 85px;
  color: var(--vam-ink);
  font-size: 19.5px;
  line-height: 52px;
  font-weight: 900;
}

.vam-pane__body {
  max-width: 608px;
  margin: 0 40px 0 85px;
}

.vam-pane__body p {
  color: var(--vam-ink);
  font-size: 16px;
  line-height: 28px;
}

.vam-pane__image {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 267px;
  margin-top: 80px;
}

.vam-pane ul {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.vam-pane li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--vam-ink);
  font-size: 16px;
  line-height: 28px;
}

.vam-pane li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--vam-gold);
}

.vam-pane strong {
  font-weight: 900;
}

/* Bootstrap-markup modals injected by the backoffice login widget.
   They are hidden by default and only opened through assets/js/modal-shim.js. */
.modal,
#loginModal,
#registerModal,
#sessionExpiredModal {
  display: none;
}

.modal.in,
.modal.show {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1050;
  overflow-y: auto;
}

#lfo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(14, 14, 16, .5);
}

body.lfo-modal-open {
  overflow: hidden;
}

.modal .modal-dialog {
  width: min(100% - 32px, 480px);
  margin: 10vh auto;
}

.modal .modal-content {
  padding: 32px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal .modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.modal .close {
  border: 0;
  background: none;
  color: var(--vam-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal .modal-body input,
.modal .modal-body select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  margin-bottom: 12px;
  border: 1px solid var(--vam-line);
}

.modal .btn {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 50px;
  color: var(--vam-dark);
  background: var(--vam-gold);
  font-weight: 600;
  cursor: pointer;
}

/* Backoffice message toasts: only shown by the login widget. */
.lfo-message-stack {
  position: fixed;
  top: 90px;
  right: 18px;
  z-index: 9999;
}

.lfo-message {
  display: none;
  width: 280px;
  min-height: 130px;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 16px;
  background: var(--vam-bar);
  color: #fff;
}

.lfo-message__close {
  float: right;
}

/* ---------- footer ---------- */

.vam-footer {
  color: var(--vam-muted);
  background: var(--vam-bar);
  font-size: 14px;
  line-height: 23.8px;
}

.vam-footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--vam-dark);
}

.vam-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vam-footer__block {
  padding: 72px 40px 72px 50px;
  color: var(--vam-white);
}

.vam-footer__block--alt {
  background: var(--vam-dark-2);
}

.vam-footer__title {
  margin: 0 0 22px;
  color: var(--vam-white);
  font-size: 35px;
  line-height: 35px;
  font-weight: 700;
}

/* .vam-footer p {
  margin: 0 0 28px;
} */

.vam-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vam-contact__item {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.vam-contact__item svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  fill: none;
  stroke: var(--vam-white);
  stroke-width: 1.6;
}

.vam-contact__item a:hover {
  color: var(--vam-white);
}

.vam-contact__item p {
  margin: 0;
}

.vam-footer__map {
  position: relative;
  min-height: 529px;
  background: var(--vam-line);
}

.vam-footer__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(.92);
}

.vam-footer__map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  pointer-events: none;
}

.vam-enquiry {
  position: absolute;
  z-index: 2;
  top: 58px;
  left: 72px;
  right: 48px;
  padding: 30px 44px 40px;
  border-top: 4px solid var(--vam-gold);
  background: var(--vam-dark);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
}

.vam-enquiry[hidden] {
  display: none;
}

.vam-enquiry__title {
  margin: 0 0 26px;
  color: var(--vam-gold-light);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.vam-enquiry__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.vam-enquiry__fields>* {
  min-width: 0;
}

.vam-enquiry__field--wide {
  grid-column: 1 / -1;
}

.vam-enquiry input,
.vam-enquiry textarea {
  width: 100%;
  padding: 13px 22px;
  border: 0;
  border-radius: 30px;
  background: var(--vam-white);
  color: var(--vam-ink);
  font-family: var(--vam-font);
  font-size: 14px;
  font-weight: 300;
}

.vam-enquiry textarea {
  border-radius: 22px;
  resize: vertical;
}

.vam-enquiry__close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 3px solid var(--vam-gold);
  border-radius: 50%;
  background: var(--vam-dark);
  color: var(--vam-gold-light);
  font: 900 20px/1 var(--vam-font);
  cursor: pointer;
}

.vam-footer__bottom {
  background: var(--vam-bar);
}

.vam-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--vam-shell);
  margin-inline: auto;
  padding: 22px 24px;
}

.vam-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vam-legal li+li::before {
  content: "|";
  margin-right: 10px;
  color: var(--vam-muted);
}

.vam-legal a {
  color: var(--vam-white);
  font-size: 16px;
}

.vam-legal a:hover {
  color: var(--vam-gold-light);
}

.vam-footer__copy {
  margin: 0;
  color: var(--vam-white);
  font-size: 16px;
  white-space: nowrap;
}

.vam-footer__mark {
  width: 76px;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .vam-nav__list {
    gap: 20px;
  }

  .vam-header__menu {
    gap: 22px;
  }
}

@media (max-width: 1200px) {
  .vam-tabs__content {
    grid-template-columns: 1fr;
  }

  .vam-pane {
    grid-row: auto;
    order: 1;
  }

  .vam-pane__image {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    justify-self: start;
    margin: 0 0 50px 85px;
    width: 267px;
  }
}

@media (max-width: 1024px) {
  .vam-header__toggle {
    display: block;
    margin-left: auto;
  }

  .vam-header__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 24px 26px;
    background: var(--vam-dark);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .3);
  }

  .vam-header__menu.is-open {
    display: flex;
  }

  .vam-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .vam-nav__actions {
    flex-wrap: wrap;
  }

  .vam-hero__content {
    margin-left: 40%;
  }

  .vam-row--quad {
    grid-template-columns: 1fr 1fr;
  }

  .vam-row--quad .vam-media {
    min-height: 320px;
  }

  .vam-cell {
    padding: 88px 32px 50px;
  }

  .vam-cell--plain {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .vam-header__logo img {
    width: 180px;
  }

  .vam-hero {
    height: 520px;
  }

  .vam-hero__title {
    font-size: 36px;
    line-height: 44px;
  }

  .vam-row--split,
  .vam-row--quad {
    grid-template-columns: 1fr;
  }

  .vam-row--split .vam-media,
  .vam-row--quad .vam-media {
    min-height: 300px;
  }

  .vam-page-body {
    grid-template-columns: 1fr;
  }

  .vam-tabs__nav {
    padding: 0 5% 10px;
  }

  .vam-tab {
    padding: 22px 44px 22px 35px;
    background: var(--vam-white);
    margin-bottom: 2px;
  }

  .vam-pane {
    padding: 0 0 50px;
  }

  .vam-pane__title {
    margin: 50px 5% 24px;
  }

  .vam-pane__body {
    margin: 0 5%;
  }

  .vam-pane__image {
    width: min(320px, 100%);
    margin: 0 5% 40px;
  }

  .vam-footer__main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vam-banner {
    min-height: 250px;
    padding: 110px 20px 40px;
  }

  .vam-banner__title {
    font-size: 32px;
    line-height: 42px;
  }

  .vam-hero__content {
    margin-left: 0;
  }

  .vam-footer__cols {
    grid-template-columns: 1fr;
  }

  .vam-footer__block {
    padding: 50px 26px;
  }

  .vam-enquiry {
    top: 24px;
    left: 20px;
    right: 20px;
    padding: 26px 22px 30px;
  }

  .vam-enquiry__fields {
    grid-template-columns: 1fr;
  }

  .vam-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}