/* =============================================================================
   SECTION — ENQUIRY FORM
   Forest band. The form is the point of this page, so it gets the dark ground
   and the cream fields sit on it like the booking card does on the hero.

   FIELD STYLE follows the booking dock and hero card: square controls
   (--r-ctl), the shared --placeholder ink, 12/17 label-value type pair. A
   form that invented its own control language would be the fourth input
   style on the site.
   ========================================================================== */
.ct-form-band{
  background:var(--forest);
  color:var(--white);
  padding-block:clamp(52px,6vw,96px);
}
.ct-form-in{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(28px,4.2vw,70px);
  align-items:start;
}
.ct-form-intro .ct-kicker{
  display:flex;align-items:center;gap:var(--space-md);
  font-family:var(--font-body);
  font-size:clamp(11px,.85vw,12px);font-weight:var(--fw-bold);
  letter-spacing:var(--track-kicker);text-transform:uppercase;
  color:var(--accent);
  margin:0 0 clamp(12px,1.4vw,18px);
}
.ct-form-intro .ct-kicker::before{
  content:"";display:block;width:clamp(26px,2.6vw,40px);height:1px;
  background:rgba(183,200,150,.5);flex:0 0 auto;
}
.ct-form-intro h2{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(27px,3vw,44px);
  line-height:1.1;
  font-weight:var(--fw-medium);
  letter-spacing:-.012em;
}
.ct-form-intro p{
  margin:clamp(14px,1.6vw,20px) 0 0;
  font-family:var(--font-body);
  font-size:clamp(15px,1.12vw,17px);
  line-height:var(--lh-body);
  color:rgba(240,236,226,.82);
}

/* ---- the form itself ---- */
.ct-form{
  background:var(--cream);
  border-radius:var(--r-card);
  padding:clamp(24px,2.8vw,40px);
  color:var(--ink);
}
.ct-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(14px,1.6vw,22px);
}
.ct-field{margin-bottom:clamp(14px,1.6vw,20px)}
.ct-field label{
  display:block;
  font-family:var(--font-body);
  font-size:12px;font-weight:var(--fw-bold);
  letter-spacing:.04em;
  color:#2b3529;
  margin-bottom:var(--space-xs);
}
.ct-field label .req{color:var(--rust-deep)}
.ct-field label .opt{
  font-weight:var(--fw-regular);
  color:var(--ink-soft);
  letter-spacing:0;
}
.ct-field input,
.ct-field textarea,
.ct-field select{
  width:100%;
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.3;
  color:var(--ink);
  background:#fbf9f4;
  border:1px solid rgba(40,52,38,.22);
  border-radius:var(--r-ctl);
  padding:13px 14px;
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.ct-field textarea{min-height:140px;resize:vertical}
.ct-field input::placeholder,
.ct-field textarea::placeholder{color:var(--placeholder)}
.ct-field input:hover,
.ct-field textarea:hover,
.ct-field select:hover{border-color:rgba(40,52,38,.4)}
.ct-field input:focus-visible,
.ct-field textarea:focus-visible,
.ct-field select:focus-visible{
  outline:none;
  background:var(--white);
  border-color:var(--rust-deep);
  box-shadow:0 0 0 3px rgba(139,55,29,.16);
}
.ct-hint{
  display:block;
  margin-top:6px;
  font-family:var(--font-body);
  font-size:12.5px;
  color:var(--ink-soft);
}
/* A link inside a hint inherits the hint's grey and disappears into the
   sentence around it. The same defect on the FAQ page measured 1.01:1 against
   its neighbouring text - invisible by colour, and with no underline, invisible
   by shape too. Colour AND underline, so it is findable either way. */
.ct-hint a{
  color:var(--rust-deep);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}

/* ---- error state ----
   Driven by aria-invalid, not by a class, so the styling and the screen
   reader can never disagree about which field is wrong. */
.ct-field input[aria-invalid="true"],
.ct-field textarea[aria-invalid="true"]{
  border-color:#a3301b;
  background:#fdf6f3;
}
.ct-error{
  display:none;
  margin-top:6px;
  font-family:var(--font-body);
  font-size:12.5px;font-weight:var(--fw-medium);
  color:#8f2a16;
}
.ct-field:has([aria-invalid="true"]) .ct-error{display:block}

/* ---- honeypot: visually gone, still reachable to a bot ----
   The form is positioned so the trap anchors inside it. Left static, the
   absolute child resolves against whatever positioned ancestor it finds,
   which on this page put it 1600px down the document. Clipped either way,
   but anchoring it is one less thing a future layout change can move. */
.ct-form{position:relative}
.ct-pot{
  position:absolute;width:1px;height:1px;
  margin:-1px;padding:0;border:0;
  clip-path:inset(50%);overflow:hidden;white-space:nowrap;
}

/* ---- submit + status ---- */
.ct-submit{
  display:flex;align-items:center;gap:var(--space-lg);flex-wrap:wrap;
  margin-top:clamp(18px,2vw,26px);
}
.ct-submit .btn{
  background:var(--rust-deep);border-color:var(--rust-deep);color:var(--white);
  min-height:56px;padding:0 32px;cursor:pointer;
}
.ct-submit .btn:hover{background:#762e17;border-color:#762e17}
.ct-submit .btn svg{transition:transform .35s var(--ease-out)}
.ct-submit .btn:hover svg{transform:translateX(5px)}
.ct-submit .btn[disabled]{opacity:.6;pointer-events:none}
.ct-legal{
  margin:0;flex:1 1 220px;
  font-family:var(--font-body);
  font-size:12.5px;line-height:1.5;
  color:var(--ink-soft);
}

/* The live region is always in the DOM so a screen reader is already
   listening when the message arrives. Empty, it takes no space. */
.ct-status{
  margin-top:var(--space-md);
  font-family:var(--font-body);
  font-size:14.5px;line-height:1.5;
}
.ct-status:empty{margin:0}
.ct-status[data-state="ok"]{color:#1d5b3a}
.ct-status[data-state="err"]{color:#8f2a16}

@media (max-width:980px){
  .ct-form-in{grid-template-columns:minmax(0,1fr);gap:clamp(22px,3.4vw,32px)}
}
@media (max-width:620px){
  .ct-row{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  .ct-submit .btn:hover svg{transform:none}
}
