@charset "utf-8";
/* ===========================================================================
   Duma — enquiry wizard
   ---------------------------------------------------------------------------
   Built phone-first, because most people who plan a safari on their sofa are
   holding a phone. Every control is at least 44px tall, the next/back bar is
   pinned within thumb reach, and nothing depends on hover.

   The visual language is the site's, quieted down: this is a form, and a form
   that looks like a magazine spread is harder to fill in.
   ========================================================================= */

.wz-body {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--ui);
  overflow-x: hidden;
}

/* --- Header -------------------------------------------------------------- */
.wz-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--gutter);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  padding-top: max(var(--s-4), env(safe-area-inset-top));
}

.wz-back {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--sand-line);
  color: var(--ink-soft);
  flex: none;
}
.wz-back:hover { border-color: var(--ochre); color: var(--ochre); }

.wz-brand {
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1;
  margin-right: auto;
}
.wz-brand em {
  display: block;
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-top: 3px;
}

.wz-help {
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--sand-line);
  padding-bottom: 2px;
}
.wz-help:hover { color: var(--ochre); border-color: var(--ochre); }

/* --- Progress ------------------------------------------------------------ */
.wz-progress {
  height: 2px;
  background: var(--sand);
  position: sticky;
  top: 3.75rem;
  z-index: 19;
}
.wz-progress__fill {
  height: 100%;
  width: 14%;
  background: var(--ochre);
  transition: width 0.45s var(--ease-out);
}

/* --- Step ---------------------------------------------------------------- */
.wz {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--gutter) 7rem;
}

.wz-step { display: none; }
.wz-step.is-current {
  display: block;
  animation: wzIn 0.4s var(--ease-out);
}
@keyframes wzIn {
  from { opacity: 0; transform: translateY(0.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  .wz-step.is-current { animation: none; }
  .wz-progress__fill { transition: none; }
}

.wz-eyebrow {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: var(--s-4);
}

.wz-q {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.wz-note {
  margin-top: var(--s-4);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 46ch;
}

.wz-sub {
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wz-group {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.wz-counter {
  margin-top: var(--s-5);
  font-size: 0.75rem;
  color: var(--mist);
}

/* --- Choices ------------------------------------------------------------- */
.wz-choices {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.wz-choices--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}
.wz-choices--row { flex-direction: row; flex-wrap: wrap; }

.wz-choice {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  text-align: left;
  width: 100%;
  min-height: 3.25rem;
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
              transform 0.18s var(--ease);
}
.wz-choice:hover { border-color: var(--ochre); }
.wz-choice:active { transform: scale(0.995); }

.wz-choice.is-on {
  border-color: var(--ochre);
  background: #FCF6EC;
  box-shadow: inset 0 0 0 1px var(--ochre);
}

.wz-choice__mark {
  font-family: var(--display);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  min-width: 1.5rem;
  padding-top: 2px;
  flex: none;
}
.wz-choice.is-on .wz-choice__mark { color: var(--ochre); }

.wz-choice__body { display: flex; flex-direction: column; gap: 3px; }
.wz-choice__title { font-size: 0.9375rem; font-weight: 500; line-height: 1.35; display: block; }
.wz-choice__sub { font-size: 0.8125rem; color: var(--mist); line-height: 1.45; display: block; }

.wz-choice--compact {
  flex-direction: column;
  gap: 3px;
  padding: var(--s-4);
  min-height: 3rem;
}

.wz-choice--pill {
  width: auto;
  min-height: 2.75rem;
  padding: 0.6875rem 1.125rem;
  border-radius: 100px;
  font-size: 0.875rem;
  align-items: center;
}

/* Suggestion rather than a choice: the answer we would rather they gave. */
.wz-inspire {
  margin-top: var(--s-5);
  width: 100%;
  text-align: left;
  padding: var(--s-5);
  border: 1px dashed var(--ochre);
  border-radius: 3px;
  background: #FCF6EC;
  cursor: pointer;
}
.wz-inspire.is-on { background: var(--ochre); border-style: solid; }
.wz-inspire.is-on .wz-inspire__title,
.wz-inspire.is-on .wz-inspire__sub { color: var(--char, #16110E); }
.wz-inspire__title { display: block; font-weight: 600; font-size: 0.9375rem; }
.wz-inspire__sub { display: block; font-size: 0.8125rem; color: var(--ink-soft); margin-top: 2px; }

/* --- Months -------------------------------------------------------------- */
.wz-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
  gap: var(--s-2);
}
.wz-month {
  min-height: 2.75rem;
  border: 1px solid var(--sand-line);
  background: var(--white);
  border-radius: 3px;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.wz-month:hover { border-color: var(--ochre); }
.wz-month.is-on { background: var(--ochre); border-color: var(--ochre); color: var(--white); }

/* --- Fields -------------------------------------------------------------- */
.wz-fields {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}

.wz-field {
  display: block;
  margin-top: var(--s-5);
}
.wz-fields .wz-field { margin-top: 0; }

.wz-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.wz-label em { font-style: normal; font-weight: 400; color: var(--mist); }

.wz-input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9375rem;
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
  /* 16px minimum, or iOS zooms the whole page on focus. */
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.wz-input:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(194, 120, 43, 0.14);
}
.wz-input[aria-invalid="true"] { border-color: var(--rust); }
.wz-textarea { min-height: 5.5rem; resize: vertical; line-height: 1.55; }

.wz-hint { display: block; font-size: 0.75rem; color: var(--mist); margin-top: var(--s-2); }
.wz-inline { margin-top: var(--s-4); font-size: 0.8125rem; color: var(--ochre); }

.wz-fielderror {
  display: block;
  font-size: 0.75rem;
  color: var(--rust);
  margin-top: var(--s-2);
}

/* --- Steppers ------------------------------------------------------------ */
.wz-steppers {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}
.wz-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
}
.wz-stepper__label { font-size: 0.9375rem; font-weight: 500; }
.wz-stepper__label em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mist);
  margin-top: 2px;
}
.wz-stepper__controls { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.wz-stepper__controls button {
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--sand-line);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.wz-stepper__controls button:hover { border-color: var(--ochre); color: var(--ochre); }
.wz-stepper__controls button:disabled { opacity: 0.35; pointer-events: none; }
.wz-stepper__controls output {
  min-width: 1.75rem;
  text-align: center;
  font-family: var(--display);
  font-size: 1.375rem;
  font-variant-numeric: lining-nums tabular-nums;
}

/* --- Consent ------------------------------------------------------------- */
.wz-consent {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin-top: var(--s-6);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.wz-consent input {
  width: 1.25rem; height: 1.25rem;
  margin-top: 1px;
  accent-color: var(--ochre);
  flex: none;
}
.wz-consent a { text-decoration: underline; text-underline-offset: 0.2em; }

.wz-alt {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--sand-line);
  font-size: 0.8125rem;
  color: var(--mist);
}
.wz-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Reference ----------------------------------------------------------- */
.wz-ref {
  margin-top: var(--s-6);
  padding: var(--s-5);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
  background: var(--white);
}
.wz-ref span {
  display: block;
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: var(--s-2);
}
.wz-ref strong {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.wz-actions { margin-top: var(--s-6); display: flex; gap: var(--s-4); flex-wrap: wrap; }

.wz-error {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: rgba(154, 59, 31, 0.07);
  border-radius: 3px;
  color: var(--rust);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* --- Footer nav ---------------------------------------------------------- */
.wz-foot {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--gutter);
  padding-bottom: max(var(--s-4), env(safe-area-inset-bottom));
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--sand-line);
}

.wz-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 2.875rem;
  padding: 0 1.25rem;
  border-radius: 3px;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s var(--ease), opacity 0.18s var(--ease);
}
.wz-nav--back { border-color: var(--sand-line); color: var(--ink-soft); }
.wz-nav--back:hover { border-color: var(--mist); }
.wz-nav--back[hidden] { visibility: hidden; display: inline-flex; }

.wz-nav--next {
  margin-left: auto;
  background: var(--ochre);
  color: var(--char, #16110E);
  padding: 0 1.5rem;
}
.wz-nav--next:hover { background: var(--ochre-lift); }
.wz-nav--next:disabled { opacity: 0.4; pointer-events: none; }

/* Dots read as position, not decoration: filled means answered. */
.wz-dots { display: flex; gap: 6px; }
.wz-dots i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sand-line);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.wz-dots i.is-done { background: var(--ochre); }
.wz-dots i.is-current { background: var(--ink); transform: scale(1.4); }

@media (max-width: 30rem) {
  .wz-dots { display: none; }
  .wz-nav { flex: 1; justify-content: center; }
  .wz-nav--next { margin-left: 0; }
}

/* --- Honeypot ------------------------------------------------------------ */
.wz-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Focus is moved to each question heading when the step changes, so a screen
   reader announces the new question instead of leaving the user stranded at
   the old one. That focus must not paint a ring: it was not the user who
   moved there, and a box drawn around the headline on load reads as a fault.
   Focus rings on things people actually operate are untouched.
   ------------------------------------------------------------------------ */
.wz-q:focus,
.wz-q:focus-visible { outline: none; }
