/* ==========================================================================
   MONI — the enquiry modal
   Loaded by every page, because the global header's Get Started is on every
   page. One modal serves all three modes; nothing here is per-mode.

   The modal is deliberately the light system on every page, including the
   three Resources pages that are still dark. It is an overlay on its own
   ground rather than part of the page beneath it, so it does not inherit a
   page's theme — and a white sheet over a dimmed page is what the rest of
   the site's overlays already do.

   Not themed per page on purpose: no .home / .fnb / .about variants. The
   values below are the light system's own tokens, written out here because
   this file loads on pages that do not define them.
   ========================================================================== */

/* The page holds still underneath rather than jumping to the top, so
   closing lands the visitor exactly where they were. */
body.enq-is-open { overflow: hidden; }

.enq {
  position: fixed; inset: 0;
  z-index: 300;                 /* above Ask MONI (90) and the header (100) */
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
}
.enq[hidden] { display: none; }

.enq__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 11, 13, .78);
}

.enq__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid #E5E8EA;
  border-radius: 14px;
  background: #FFFFFF;
  /* One soft lift, not a drop shadow stack. */
  box-shadow: 0 18px 48px rgba(10, 11, 13, .22);
}

.enq__close {
  position: absolute; top: 14px; right: 14px;
  z-index: 1;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid #D7DBDE;
  border-radius: 50%;
  background: #FFFFFF;
  color: #111315;
  cursor: pointer;
  transition: border-color .32s cubic-bezier(.22,.61,.36,1),
              background-color .32s cubic-bezier(.22,.61,.36,1);
}
.enq__close:hover { background: #F6F7F8; border-color: #111315; }

/* --- Head ------------------------------------------------------------------ */
.enq-head { max-width: 46ch; padding-right: 44px; }
.enq-head__eyebrow { color: #0E7C38; }
.enq-head__title {
  margin-top: 12px;
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #111315;
}
.enq-head__copy {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #52585F;
}

/* --- Fields ----------------------------------------------------------------
   Two columns, with a field opting into a half row. Everything else spans
   the pair, which is what keeps a long select or a message box full width. */
.enq-grid {
  margin-top: clamp(22px, 2.6vw, 30px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.enq-field { grid-column: 1 / -1; min-width: 0; }
.enq-field--half { grid-column: span 1; }

.enq-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .01em;
  color: #111315;
}
.enq-field__req { color: #0E7C38; }

.enq-input {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #D7DBDE;
  border-radius: 8px;
  background: #FFFFFF;
  color: #111315;
  font: inherit;
  font-size: 14.5px;
  transition: border-color .32s cubic-bezier(.22,.61,.36,1),
              box-shadow .32s cubic-bezier(.22,.61,.36,1);
}
.enq-input::placeholder { color: #8A9097; }
.enq-input:hover { border-color: #AFB5BB; }
.enq-input:focus {
  outline: none;
  border-color: #17A34A;
  /* A ring rather than a glow: one hairline of brand green. */
  box-shadow: 0 0 0 3px rgba(23, 163, 74, .15);
}
.enq-input--area { resize: vertical; min-height: 96px; line-height: 1.55; }

/* The native arrow is inconsistent across platforms; this is one chevron
   drawn in the field's own ink. */
select.enq-input {
  appearance: none; -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352585F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

/* --- Password ---------------------------------------------------------------
   The reveal sits inside the field's right edge, and the input reserves room
   for it so a long password never runs underneath. It is a text button
   rather than an eye glyph: at this size a word is unambiguous and needs no
   legend. */
.enq-pw { position: relative; display: block; }
.enq-pw__input { padding-right: 62px; }
.enq-pw__toggle {
  position: absolute; top: 50%; right: 6px;
  transform: translateY(-50%);
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #0E7C38;
  font: inherit;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
}
.enq-pw__toggle:hover { background: #F1FAF4; }

.enq-field__hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #6B7179;
}

/* --- Agreement checkbox -----------------------------------------------------
   The control and its sentence sit on one row, aligned at the top so a
   wrapped sentence stays beside the box rather than under it. */
.enq-field--check { margin-top: 4px; }
.enq-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.enq-check__box {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  margin: 1px 0 0;
  accent-color: #17A34A;
  cursor: pointer;
}
.enq-check__label {
  font-size: 13px;
  line-height: 1.5;
  color: #52585F;
}
.enq-check__label a { color: #0E7C38; text-decoration: underline; text-underline-offset: 2px; }
.enq-field--check.is-invalid .enq-check__box { outline: 2px solid #C0392B; outline-offset: 2px; }

/* --- Inline validation ------------------------------------------------------
   The message sits under its own field and the border carries the state.
   No alert(), and nothing that moves the layout around: the error line is
   hidden rather than removed, so revealing it adds one line under that
   field and nothing else shifts. */
.enq-field.is-invalid .enq-input { border-color: #C0392B; }
.enq-field.is-invalid .enq-input:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.enq-field__error {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #C0392B;
}

/* --- Privacy, actions, notice ---------------------------------------------- */
.enq-privacy {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6B7179;
}
.enq-privacy a { color: #0E7C38; text-decoration: underline; text-underline-offset: 2px; }

.enq-actions { margin-top: 20px; display: flex; }
.enq-submit { width: 100%; }

.enq-notice {
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid #D8EDE1;
  border-radius: 8px;
  background: #F1FAF4;
  font-size: 13.5px;
  color: #0E7C38;
}
.enq-notice[hidden] { display: none; }

.enq :focus-visible { outline: 2px solid #0E7C38; outline-offset: 2px; }

/* --- Mobile ----------------------------------------------------------------
   One column, and the sheet takes the width it is given. */
@media (max-width: 600px) {
  .enq { padding: 12px; }
  .enq__panel { padding: 22px 18px 24px; max-height: calc(100vh - 24px); }
  .enq-head { padding-right: 40px; }
  .enq-grid { grid-template-columns: 1fr; }
  .enq-field--half { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .enq__close, .enq-input { transition: none; }
}

/* The honeypot: present, reachable to anything parsing the DOM, invisible
   and unreachable to a person. Off-screen rather than display:none — the
   bots worth catching skip fields a human could not fill. */
.enq-hp {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* The notice already existed; these are the states it can now be in. The
   wording carries the meaning, so the colour only has to agree with it. */
.enq-notice--busy  { color: var(--h-dim, #6B7179); }
.enq-notice--ok    { color: #0E7C38; }
.enq-notice--warn  { color: #8A6D1F; }
.enq-notice--error { color: #C0392B; }

/* ==========================================================================
   Contact Us — the two-column mode
   Only the mode that asks for it gets any of this: the panel picks up
   .enq__panel--wide on open and loses it on close, and everything below the
   first rule lives inside .enq-two. Every other mode is the 620px single
   column above, untouched — including its field spacing, which the rules
   here deliberately re-state rather than change globally.
   ========================================================================== */

/* Wider, and with its own padding removed — the two columns pad themselves,
   so the information panel's tint reaches the sheet's edges rather than
   floating in a white margin. The panel keeps its own overflow-y, so a long
   form still scrolls inside it. */
.enq__panel--wide { width: min(1000px, 100%); padding: 0; }

/* A fixed-width information panel beside a form that takes the rest. The
   form is the part that must not be cramped, so it gets the flexible track;
   minmax(0, …) on both so a long email address cannot push the grid wider
   than the sheet. */
.enq-two {
  display: grid;
  grid-template-columns: minmax(0, 324px) minmax(0, 1fr);
  align-items: stretch;
}

.enq-main {
  min-width: 0;
  padding: clamp(28px, 3.4vw, 46px) clamp(26px, 3.2vw, 44px);
}

/* --- The information panel -------------------------------------------------
   Two surfaces rather than one: a soft grey block against the form's white,
   divided by a hairline. That is the whole separation — no card inside a
   card, no shadow, no second border. The tint is a step darker than the
   site's --h-panel-2 on purpose; at #FAFBFC this column read as white and
   the two halves ran together.

   No heading here. The modal's eyebrow and headline on the right already
   name this, and a "Get in Touch" above "Get in Touch with Us" said the
   same thing twice. The region labels carry the column now. */
.enq-info {
  min-width: 0;
  padding: clamp(28px, 3.4vw, 46px) clamp(24px, 2.8vw, 36px);
  border-right: 1px solid #E5E8EA;
  background: #F4F6F7;
}

/* A rule between regions rather than a box around each: the column is
   already set apart from the form by its tint, and a second frame inside it
   would be one too many. */
.enq-info__block + .enq-info__block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #DFE4E6;
}
.enq-info__region {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0E7C38;
}

/* Label over value, not label beside value: "Address" beside three lines of
   address leaves a ragged column, and these labels are short enough that
   stacking costs nothing. */
.enq-info__list { margin-top: 16px; }
.enq-info__k {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8A9097;
}
.enq-info__list > .enq-info__k:first-child { margin-top: 0; }
.enq-info__v {
  margin: 5px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #111315;
}
/* No underline at rest. These are a contact list, not running prose, and
   four underlined lines in a narrow column was most of what made it look
   busy; the link says it is one on hover and on focus. */
.enq-info__v a {
  color: #111315;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .32s cubic-bezier(.22,.61,.36,1),
              border-color .32s cubic-bezier(.22,.61,.36,1);
}
.enq-info__v a:hover { color: #0E7C38; border-color: #0E7C38; }

/* --- Breathing room in the form ---------------------------------------------
   Scoped to .enq-two, so the three single-column modes keep the tighter
   rhythm they were designed at. */
.enq-two .enq-head { max-width: 42ch; }
.enq-two .enq-head__copy { margin-top: 10px; }
.enq-two .enq-grid { margin-top: clamp(26px, 3vw, 34px); gap: 20px 20px; }
.enq-two .enq-field__label { margin-bottom: 8px; }
.enq-two .enq-input { padding: 12px 14px; }
.enq-two select.enq-input { padding-right: 38px; }
.enq-two .enq-input--area { min-height: 118px; }
.enq-two .enq-privacy { margin-top: 24px; }
.enq-two .enq-actions { margin-top: 24px; }
.enq-two .enq-submit { padding-top: 15px; padding-bottom: 15px; }

/* --- Radio group -----------------------------------------------------------
   A fieldset for the semantics and nothing for the appearance: the default
   border, padding and legend offset are all removed, so the legend reads as
   the same field label as every other one above it. */
.enq-radio-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.enq-radio-set > .enq-field__label { padding: 0; }

.enq-radio-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Each option is the whole pill, not the 16px circle inside it — a target
   worth aiming at on a phone. */
.enq-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #D7DBDE;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 14.5px;
  color: #111315;
  cursor: pointer;
  transition: border-color .32s cubic-bezier(.22,.61,.36,1),
              background-color .32s cubic-bezier(.22,.61,.36,1);
}
.enq-radio:hover { border-color: #AFB5BB; }
.enq-radio__input {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin: 0;
  accent-color: #17A34A;
  cursor: pointer;
}
/* The pill agrees with the dot inside it. Decoration only — where :has() is
   not understood the radio itself still shows which option is chosen. */
.enq-radio:has(.enq-radio__input:checked) {
  border-color: #17A34A;
  background: #F1FAF4;
}
.enq-field.is-invalid .enq-radio { border-color: #C0392B; }

/* --- Stacked ---------------------------------------------------------------
   One column below the point where 324px of contact details plus a usable
   form stop fitting side by side. The information panel keeps its place
   first — someone who opened this from the footer is as likely to be after
   the phone number as the form — and its right-hand border becomes the rule
   under it. The tint carries the separation either way.

   The two regions go side by side here: at this width they are two short
   lists, and a pair reads better than one long column to scroll past. */
@media (max-width: 880px) {
  .enq__panel--wide { width: min(640px, 100%); }
  .enq-two { grid-template-columns: minmax(0, 1fr); }
  .enq-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    border-right: 0;
    border-bottom: 1px solid #E5E8EA;
    /* Clear of the close button, which sits over this panel once the form
       is no longer beside it. */
    padding-right: 68px;
  }
  .enq-info__block + .enq-info__block {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    padding-left: 32px;
    border-left: 1px solid #DFE4E6;
  }
}

@media (max-width: 600px) {
  .enq__panel--wide { padding: 0; }
  .enq-info, .enq-main { padding: 24px 20px 26px; }
  /* Back to one column: two of these side by side on a phone is four
     cramped lines apiece. */
  .enq-info { grid-template-columns: 1fr; padding-right: 62px; }
  .enq-info__block + .enq-info__block {
    margin-top: 22px;
    padding-top: 22px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #DFE4E6;
  }
  /* Full-width pills stacked, so neither option is a narrow target. */
  .enq-radio-row { display: grid; grid-template-columns: 1fr 1fr; }
  .enq-radio { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .enq-radio, .enq-info__v a { transition: none; }
}

/* ==========================================================================
   The product chooser
   A heading and two ways on. It reuses the modal's own head block, so the
   only new thing here is the pair of options.
   ========================================================================== */

/* Narrower than the 620px sheet: two rows and a heading do not need the
   width a form does, and at 620px the options read as a stretched list
   rather than a choice. */
.enq__panel--narrow { width: min(520px, 100%); }

.enq-choices {
  margin-top: clamp(22px, 2.6vw, 28px);
  display: grid;
  gap: 12px;
}

/* One row is the whole control — an <a> for F&B, a <button> for Retail —
   so there is nothing inside it to miss. Both are reset to the same box
   here, because a button carries a browser's own font and alignment and an
   anchor does not. */
.enq-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #D7DBDE;
  border-radius: 10px;
  background: #FFFFFF;
  color: #111315;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .32s cubic-bezier(.22,.61,.36,1),
              background-color .32s cubic-bezier(.22,.61,.36,1);
}
.enq-choice:hover { border-color: #17A34A; background: #F1FAF4; }

.enq-choice__icon {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: #F1FAF4;
  color: #0E7C38;
}

.enq-choice__text { flex: 1 1 auto; min-width: 0; }
.enq-choice__title {
  display: block;
  font-size: 15.5px; font-weight: 700;
  letter-spacing: -.01em;
  color: #111315;
}
.enq-choice__copy {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
  color: #52585F;
}

/* The arrow is the affordance, not a second button: it moves a little on
   hover and says nothing to a screen reader. */
.enq-choice__go {
  flex: 0 0 auto;
  display: grid; place-items: center;
  color: #8A9097;
  transition: transform .32s cubic-bezier(.22,.61,.36,1),
              color .32s cubic-bezier(.22,.61,.36,1);
}
.enq-choice:hover .enq-choice__go { transform: translateX(3px); color: #0E7C38; }

@media (max-width: 600px) {
  .enq-choice { padding: 14px 15px; gap: 12px; }
  .enq-choice__icon { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .enq-choice, .enq-choice__go { transition: none; }
  .enq-choice:hover .enq-choice__go { transform: none; }
}

/* Explicit acknowledgement after a confirmed server submission. */
.enq__panel--success { width: min(480px, 100%); padding: clamp(28px, 5vw, 44px); }
.enq__panel--success .enq__close[hidden] { display: none; }
.enq-success { text-align: center; }
.enq-success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #e8f7ee; color: #12a34a; font-size: 36px; font-weight: 700; }
.enq-success h2 { margin: 0 0 14px; font-size: clamp(26px, 5vw, 32px); line-height: 1.2; }
.enq-success p { margin: 0 0 28px; color: #475569; font-size: 17px; line-height: 1.7; }
.enq-success .enq-submit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; margin: 0; padding: 14px 24px;
  border: 1px solid #17A34A; border-radius: 8px;
  background: #17A34A; color: #FFFFFF;
  font: inherit; font-weight: 700; cursor: pointer;
}
.enq-success .enq-submit:hover { background: #148D40; border-color: #148D40; }
.enq-success .enq-submit:focus-visible { outline: 3px solid #0E7C38; outline-offset: 3px; }

