/* ══ ENQUIRY STEPPER ═══════════════════════════════════════════════════════
   Three question cards in one frosted-glass panel, lifted from the v3 nav
   glass — white tint, inset hairlines, 6px blur over a warm wash. Cards never
   move; the title comes forward out of depth while the field rules draw in
   from the left. The Next pill turns gold on card 3, where it becomes Send.

   Ported from _enquiry-lab/stepper-prototype.html, 14 October 2026.

   EVERY class here is prefixed eq-. The prototype's own names (.card, .foot,
   .steps, .consent, .chip) collide with classes already live on index.html
   and start.html, so nothing is left unprefixed — do not shorten them back.

   Shared by index.html (#contact) and start.html. Change it once, both pages
   follow. Paired with enquiry-stepper.js.
   ════════════════════════════════════════════════════════════════════════ */

/* ── the ground ────────────────────────────────────────────────────────────
   Glass needs some tone to bend; on flat paper the effect disappears, and
   --paper on this site is #FFFFFF. So the panel carries its own warm wash
   that fades to fully transparent well before the section edge — the bend
   has something to work with and no seam appears against #pricing above or
   the footer below. */
.eq-scene{
  position:relative;
  overflow-anchor:none;
  max-width:1120px;
  margin:0 auto;
  padding:clamp(26px,5vw,60px) clamp(16px,4vw,56px) clamp(34px,5vw,64px);
}
.eq-scene::before{
  content:'';
  position:absolute;
  /* inset:0, not a bleed past the scene. #contact clips its children, but
     .start-form-wrap on start.html does not, and a horizontal bleed there put
     39px of overflow on the page at 485px wide. The gradient is sized past its
     own box instead, so the wash still reaches the panel's corners. */
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(50% 50% at 50% 50%,#EFEADD 0%,#F7F4ED 52%,rgba(255,255,255,0) 100%);
}
.eq-scene>*{position:relative;z-index:1;}
.eq-scene *{box-sizing:border-box;}

/* ── the glass panel ─────────────────────────────────────────────────────── */
.eq-panel{
  /* the nav's own numbers, from nav-glass.css */
  --eq-glass-ink:#201C14;
  --eq-glass-tint:rgba(255,255,255,.30);
  --eq-glass-surface:linear-gradient(165deg,rgba(255,255,255,.22),transparent 36%,transparent 65%,rgba(255,255,255,.09));
  --eq-glass-blur:blur(6px) saturate(140%);
  --eq-glass-edge:inset 0 1.5px 1px rgba(255,255,255,.9),inset 0 -1px 1px rgba(255,255,255,.38),inset 1px 0 2px rgba(255,255,255,.55),inset -2px 0 3px rgba(255,255,255,.5),0 5px 18px rgba(0,0,0,.15),0 18px 44px rgba(28,24,16,.16);
  --eq-glass-line:rgba(32,28,20,.22);
  --eq-field-font:'Geist',system-ui,sans-serif;
  --eq-field-size:clamp(17px,1.5vw,21px);
  --eq-field-leading:1.4;
  --eq-field-rule-gap:6px;
  color-scheme:light;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;

  --eq-gold:#C9A84C;
  --eq-gold-text:#6F5A12;
  --eq-gold-deep:#B08F3D;
  --eq-err:#A5342F;

  /* ── THE VERTICAL SCALE ────────────────────────────────────────────
     One ladder, roughly ×1.5 a step, and nothing inside a card is allowed
     to use a number that is not on it. Every gap below names its step, so
     the rhythm is one decision in one place rather than thirty clamps.
         1  8px    label to its field
         2  12px   tick to its wording
         3  18px   title to its help line · footer inset
         4  27px   field to field
         5  40px   help line to the first field
         6  60px   the card's own top and bottom
     The card's top is 6 plus a 5, which is what drops the titles below the
     panel's shoulder instead of sitting on it. */
  --eq-sp1:8px;
  --eq-sp2:12px;
  --eq-sp3:18px;
  --eq-sp4:clamp(20px,2.4vw,27px);
  --eq-sp5:clamp(28px,3.4vw,40px);
  --eq-sp6:clamp(38px,5vw,60px);

  --eq-ease:cubic-bezier(.22,1,.36,1);
  --eq-even:cubic-bezier(.52,.06,.36,1);  /* measured: evenest travel of the curves tried */
  --eq-radius:clamp(18px,2.2vw,28px);

  position:relative;
  z-index:1;
  color:var(--eq-glass-ink);
  border-radius:var(--eq-radius);
  /* a squircle, not an arc: the corner eases into the straight edge instead
     of meeting it at a hard tangent. Chromium-only, and it falls back to the
     plain radius above everywhere else, so nothing breaks without it. */
  corner-shape:squircle;
  overflow:hidden;
  background:var(--eq-glass-surface),var(--eq-glass-tint);
  box-shadow:var(--eq-glass-edge);
  -webkit-backdrop-filter:var(--eq-glass-blur);
  backdrop-filter:var(--eq-glass-blur);
  transition:background 250ms ease,box-shadow 250ms ease;
}

.eq-panel input,.eq-panel select,.eq-panel textarea,.eq-panel button{font:inherit;color:inherit;}

.eq-deck{position:relative;height:var(--eq-h,460px);}

/* ── THE STEP CHANGE ──────────────────────────────────────────────────
   Two motions, not one. The TITLE comes forward out of depth — up from too
   large and blurred — while EVERYTHING UNDER IT arrives the way the v3 house
   style does: the field rules draw in from the left and the words crossfade
   behind them. The card itself never moves, so the glass panel stays put and
   nothing crosses the frame.
   The leaving card does the same in reverse: its title falls back through the
   card and the rest fades. */
.eq-card{
  position:absolute;inset:0;z-index:2;overflow:hidden;justify-items:center;
  /* top = step 6 plus a step 5, so the title sits well below the shoulder */
  padding:calc(var(--eq-sp6) + var(--eq-sp5)) clamp(22px,2.8vw,42px) var(--eq-sp6);
  display:grid;grid-template-rows:auto auto 1fr;gap:0;align-content:start;
  backface-visibility:hidden;
  transition:opacity 300ms linear;
}
.eq-card[hidden]{display:none!important;}
/* the arriving card is parked with transitions off for exactly one frame,
   otherwise it animates out to the parked state and back again */
.eq-card.eq-noanim,.eq-card.eq-noanim *,.eq-card.eq-noanim .eq-ctl::before{transition:none!important;}

/* the title */
.eq-card .eq-q{transition:transform 660ms var(--eq-ease),opacity 440ms ease,filter 440ms ease;}
.eq-card.eq-pre .eq-q{opacity:0;transform:scale(1.07);filter:blur(7px);}
.eq-card.eq-post .eq-q{opacity:0;transform:scale(.88);filter:blur(4px);}

/* everything under it */
.eq-card .eq-help,.eq-card .eq-fields{transition:opacity 360ms ease 130ms;}
.eq-card.eq-pre .eq-help,.eq-card.eq-pre .eq-fields{opacity:0;transition-delay:0ms;}
.eq-card .eq-ctl::before,.eq-card .eq-chip{transition:transform 580ms var(--eq-even),border-color .25s,background .25s;}
.eq-card.eq-pre .eq-ctl::before{transform:scaleX(0);}
.eq-card.eq-pre .eq-chip{transform:scaleX(.9);}
.eq-card .eq-fields > *:nth-child(1) .eq-ctl::before{transition-delay:120ms;}
.eq-card .eq-fields > *:nth-child(2) .eq-ctl::before{transition-delay:190ms;}
.eq-card .eq-fields > *:nth-child(3) .eq-ctl::before{transition-delay:260ms;}
.eq-card .eq-fields > *:nth-child(4) .eq-ctl::before{transition-delay:330ms;}
.eq-card.eq-pre .eq-ctl::before{transition-delay:0ms;}
.eq-card.eq-post{opacity:0;}

/* ── THE THANK YOU ────────────────────────────────────────────────────
   The success card is the one place a full move earns its keep: a vertical
   roll, so the gold panel arrives like a shutter rather than resolving in
   place. Only this card uses it. */
.eq-deck.is-rolling .eq-card{transition:transform 700ms var(--eq-even),opacity 420ms linear;}
.eq-deck.is-rolling .eq-card.eq-pre{transform:translateY(100%);opacity:1;}
.eq-deck.is-rolling .eq-card.eq-post{transform:translateY(-100%);opacity:1;}
.eq-deck.is-rolling.is-back .eq-card.eq-pre{transform:translateY(-100%);}
.eq-deck.is-rolling.is-back .eq-card.eq-post{transform:translateY(100%);}
.eq-deck.is-rolling .eq-card .eq-q,.eq-deck.is-rolling .eq-card .eq-help,
.eq-deck.is-rolling .eq-card .eq-fields,.eq-deck.is-rolling .eq-card .eq-ctl::before,
.eq-deck.is-rolling .eq-card .eq-done,.eq-deck.is-rolling .eq-card .eq-done *{
  transition:none;opacity:1;transform:none;filter:none;}
/* the tick is the only thing that still draws, and only once it has landed */
.eq-deck.is-rolling .eq-card--done .eq-tick path{animation:none;}

/* ── question type ──────────────────────────────────────────────────────── */
.eq-q{
  font-family:var(--display);font-weight:400;
  font-size:clamp(36px,5.4vw,78px);line-height:.92;letter-spacing:.015em;
  color:var(--eq-glass-ink);text-shadow:0 1px 5px rgba(255,255,255,.5);
  /* The block is the longest title's height on every card, so all three
     titles land at the same height and the bodies below them do too. A grid
     with justify-items:center sized the text to max-content, which threw the
     centring off; a flex box centres the wrapped lines on both axes with no
     shrink-to-fit in the way. */
  min-height:var(--eq-qh,auto);margin:0;max-width:24ch;margin-inline:auto;
  display:flex;align-items:center;justify-content:center;
  text-align:center;width:100%;text-wrap:balance;
}
.eq-help{
  font-family:var(--sans);
  font-size:clamp(16px,1.35vw,19.5px);font-weight:400;line-height:1.6;
  color:rgba(32,28,20,.74);max-width:46ch;width:100%;
  margin:var(--eq-sp3) auto 0;text-align:center;   /* step 3 below the title */
}
/* step 5 below the help line, step 4 between fields */
.eq-fields{
  display:grid;gap:var(--eq-sp4);max-width:660px;
  margin:var(--eq-sp5) auto 0;width:100%;
  align-self:center;align-content:center;   /* takes the leftover row and centres in it */
}

/* ── a field ────────────────────────────────────────────────────────────── */
.eq-f{display:grid;gap:var(--eq-sp1);min-width:0;}   /* step 1: label to field */
.eq-f > .eq-k{
  font-family:var(--sans);font-size:clamp(14.5px,1.15vw,16px);font-weight:500;
  letter-spacing:0;text-transform:none;line-height:1.35;
  color:rgba(32,28,20,.82);transition:color .25s;
}
.eq-f > .eq-k .eq-opt{font-weight:700;color:var(--eq-gold-deep);margin-left:6px;letter-spacing:.01em;}
.eq-f:focus-within > .eq-k{color:var(--eq-gold-text);}
.eq-ctl{position:relative;display:block;}
.eq-ctl input,.eq-ctl select,.eq-ctl textarea{
  display:block;appearance:none;box-shadow:none;
  background:transparent;border:0;border-bottom:1px solid transparent;outline:none;
  color:var(--eq-glass-ink);caret-color:var(--eq-glass-ink);
  font-family:var(--eq-field-font);font-size:var(--eq-field-size);
  font-weight:400;font-style:normal;line-height:var(--eq-field-leading);
  letter-spacing:normal;text-transform:none;text-indent:0;text-align:left;
  /* One consistent gap above the rule, including multiline fields. */
  padding:0 0 var(--eq-field-rule-gap);margin:0;width:100%;min-width:0;resize:none;border-radius:0;
  -webkit-appearance:none;
}
.eq-ctl textarea{
  /* Two lines plus the shared rule gap, so the wording rests on its rule the way
     the single-line fields do instead of floating at the top of a tall box */
  height:calc(2em * var(--eq-field-leading) + var(--eq-field-rule-gap) + 1px);overflow-y:hidden;
}
/* the bar only appears once what is typed actually overruns the two lines */
.eq-ctl textarea.eq-overruns{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(32,28,20,.3) transparent;}
.eq-ctl textarea.eq-overruns::-webkit-scrollbar{width:6px;}
.eq-ctl textarea.eq-overruns::-webkit-scrollbar-thumb{background:rgba(32,28,20,.28);border-radius:3px;}
.eq-ctl textarea.eq-overruns::-webkit-scrollbar-track{background:transparent;}
.eq-ctl input::placeholder,.eq-ctl textarea::placeholder{font:inherit;letter-spacing:inherit;color:rgba(32,28,20,.48);opacity:1;}
.eq-ctl select{
  cursor:pointer;-webkit-appearance:none;appearance:none;padding-right:26px;
  background:linear-gradient(45deg,transparent 50%,var(--eq-gold-deep) 50%) calc(100% - 8px) 56%/7px 7px no-repeat,
             linear-gradient(135deg,var(--eq-gold-deep) 50%,transparent 50%) calc(100% - 1px) 56%/7px 7px no-repeat;
}
.eq-ctl select option{background:#F5F3EF;color:#0E0D0C;}
/* the resting hairline, as its own layer: the input's border cannot be scaled,
   and this rule has to draw in from the left on every step change */
.eq-ctl::before{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--eq-glass-line);transform-origin:left center;}
.eq-ctl::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--eq-gold-deep);transform:scaleX(0);transform-origin:left;transition:transform 420ms var(--eq-ease);}
.eq-f:focus-within .eq-ctl::after{transform:scaleX(1);}
/* Clip the browser's autofill paint to the glyphs rather than painting a
   mismatched opaque rectangle over the glass. Keep text and caret explicit. */
.eq-ctl input:-webkit-autofill,.eq-ctl textarea:-webkit-autofill{
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:var(--eq-glass-ink);box-shadow:none;
  caret-color:var(--eq-glass-ink);
}
.eq-err{font-family:var(--sans);font-size:12.5px;font-weight:500;color:var(--eq-err);line-height:1.5;}
.eq-err:empty{display:none;}
.eq-f.eq-bad .eq-ctl::before,.eq-f.eq-bad .eq-ctl::after{background:var(--eq-err);}
.eq-f.eq-bad > .eq-k{color:var(--eq-err);}

/* ── chips ──────────────────────────────────────────────────────────────── */
.eq-chips{display:flex;flex-wrap:wrap;gap:var(--eq-sp1);}
.eq-chip{
  font-family:var(--sans);font-size:14.5px;font-weight:400;color:var(--eq-glass-ink);
  border-radius:999px;padding:11px 17px;cursor:pointer;
  /* the same three-stop gold as the chosen state, held right down so it reads
     as a tint on glass rather than a filled pill */
  background:linear-gradient(135deg,rgba(201,168,76,.22) 0%,rgba(240,215,123,.3) 46%,rgba(176,143,61,.2) 100%);
  border:1px solid rgba(201,168,76,.45);
  box-shadow:none;
  transition:border-color .25s,background .25s,color .25s,transform .25s var(--eq-ease);
}
.eq-chip:hover{border-color:var(--eq-gold-deep);
  background:linear-gradient(135deg,rgba(201,168,76,.4) 0%,rgba(240,215,123,.5) 46%,rgba(176,143,61,.36) 100%);}
.eq-chip[aria-pressed="true"]{background:linear-gradient(135deg,#C9A84C 0%,#F0D77B 46%,#B08F3D 100%);border-color:rgba(214,183,93,.92);color:#0E0D0C;font-weight:500;box-shadow:inset 0 1px 1px rgba(255,255,255,.45);}
.eq-chip[aria-pressed="true"]:hover{background:linear-gradient(135deg,#D8B657 0%,#F7E3A2 48%,#C19D43 100%);}
.eq-chip:active{transform:scale(.97);}

/* ── consent + security ─────────────────────────────────────────────────── */
.eq-consent{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--eq-sp2);align-items:start;margin:0;}  /* step 2: tick to wording */
.eq-tickbox{position:relative;display:block;width:22px;height:22px;margin-top:1px;}
.eq-consent input{
  appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:100%;margin:0;
  border:1px solid rgba(32,28,20,.3);border-radius:6px;background:rgba(255,255,255,.45);cursor:pointer;
  transition:background .2s,border-color .2s;
}
.eq-consent input:checked{background:#FFFFFF;border-color:var(--eq-gold-deep);}
.eq-tickmark{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;}
.eq-tickmark path{
  opacity:0;
  fill:none;stroke:var(--eq-gold-deep);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:20;stroke-dashoffset:20;transition:stroke-dashoffset 420ms var(--eq-ease);
}
.eq-consent input:checked + .eq-tickmark path{opacity:1;stroke-dashoffset:0;}
@media(prefers-reduced-motion:reduce){.eq-tickmark path{transition:none;}}

.eq-consent label{font-family:var(--sans);font-size:13.5px;font-weight:400;line-height:1.6;color:rgba(32,28,20,.74);}
.eq-consent label a{color:var(--eq-gold-text);text-decoration:none;border-bottom:1px solid rgba(111,90,18,.35);}
.eq-consent label a:hover{border-bottom-color:var(--eq-gold-text);}
.eq-sec{
  display:grid;grid-template-columns:7px minmax(0,1fr);align-items:start;gap:var(--eq-sp1);
  font-family:var(--sans);font-size:12.5px;color:rgba(32,28,20,.62);
  /* the security line belongs to the consent tick above it, so it is pulled
     back from step 4 to step 3 rather than floating as its own field */
  margin-top:calc(var(--eq-sp3) - var(--eq-sp4));
}
.eq-sec .eq-dot{width:7px;height:7px;border-radius:50%;background:rgba(32,28,20,.3);box-shadow:0 0 0 0 rgba(201,168,76,.35);transition:background .3s,box-shadow .3s;}
.eq-sec .eq-dot{margin-top:5px;}
.eq-sec small,.eq-sec .eq-ts-slot{grid-column:2;min-width:0;}
.eq-sec[data-state="checking"] .eq-dot{background:var(--eq-gold-deep);animation:eq-pulse 1.1s ease-in-out infinite;}
.eq-sec[data-state="ok"] .eq-dot{background:var(--eq-gold-deep);box-shadow:0 0 0 4px rgba(201,168,76,.22);}
.eq-sec[data-state="error"] .eq-dot{background:rgba(32,28,20,.3);}
@keyframes eq-pulse{0%,100%{opacity:.4;}50%{opacity:1;}}
.eq-sec small{font-size:11px;letter-spacing:.04em;color:rgba(32,28,20,.5);}
/* Attribution. Cloudflare only permits removing their branding on Enterprise,
   and their logo may not be recoloured, so this is the name set in our own
   type rather than an altered mark. With appearance:'interaction-only' their
   in-widget branding is usually never drawn, which is why this line carries it. */
.eq-sec a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(176,143,61,.34);transition:color .2s,border-color .2s;}
.eq-sec a:hover{color:var(--eq-gold-text);border-bottom-color:var(--eq-gold-deep);}
/* Cloudflare's widget is a cross-origin iframe and cannot be styled, so it
   stays appearance:'interaction-only' — it draws nothing unless a challenge is
   genuinely required, and only then does this slot open inside the card. */
.eq-ts-slot{display:none;}
.eq-ts-slot.is-active{display:block;flex:1 0 100%;margin-top:var(--eq-sp2);}
.eq-ts-slot iframe{max-width:100%;}

/* ── footer: plain back · bare 1/3 · the send button ───────────────────────
   1fr auto 1fr, not auto 1fr auto: with the buttons sizing the outer columns
   the middle column shifted every time the Next label changed width, which
   walked the number from side to side. Now the outer columns are equal and the
   count sits on the card's centre line whatever the labels say. */
.eq-foot{
  /* position+z-index, same layer as .eq-card. Left static it was the panel's
     only unpositioned child, which put it under the backdrop-filter rather
     than over it. That showed up as smeared buttons back when the panel still
     carried the refraction lens; the lens is gone now, but the explicit
     layering is right either way, so it stays. */
  position:relative;z-index:2;
  display:grid;grid-template-columns:1fr auto 1fr;gap:clamp(12px,2vw,24px);align-items:center;
  padding:var(--eq-sp3);
  border-top:1px solid rgba(255,255,255,.45);
  background:linear-gradient(180deg,rgba(255,255,255,.14),transparent);
}
/* ── THE BUTTONS ──────────────────────────────────────────────────────
   .pricing-btn from the v3 source: the ghost outline and the three-stop gold
   gradient, both with the rolling label — a duplicate of the word stacked
   below the first inside a 1em mask and slid up on hover. Back and Next are
   the ghost; the final step turns the Next pill gold, which is what says you
   have arrived, since a gold fill cannot show progress on a gold button.
   The corner is the panel's own radius, matched rather than stepped down for
   the inset, so the button reads as the same curve as the card it sits in. */
.eq-pbtn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--eq-sp2);cursor:pointer;
  font-family:var(--display);font-weight:400;font-size:clamp(16px,1.4vw,19px);letter-spacing:.13em;text-transform:uppercase;
  border-radius:var(--eq-radius);
  padding:var(--eq-sp3) clamp(26px,3vw,34px);min-width:clamp(124px,12vw,150px);
  border:1px solid rgba(32,28,20,.26);background:none;color:var(--eq-glass-ink);
  transition:background .3s ease,color .25s ease,border-color .25s ease,transform .3s ease,box-shadow .3s ease,opacity .25s ease;
}
@supports (corner-shape:squircle){
  /* a squircle of the same radius reads tighter than an arc, so it is opened
     up to keep the corner looking like the card's */
  .eq-pbtn{border-radius:calc(var(--eq-radius) * 1.45);}
}
.eq-pbtn:hover:not(:disabled){border-color:var(--eq-gold);color:var(--eq-gold-text);transform:scale(1.05);box-shadow:0 10px 26px rgba(14,13,12,.14);}
.eq-pbtn:disabled{opacity:.32;cursor:default;}
.eq-pbtn svg{width:11px;height:11px;flex:0 0 11px;transition:transform .25s ease;}
.eq-pbtn:hover:not(:disabled) svg{transform:translate(2px,0);}
.eq-roll{display:inline-flex;flex-direction:column;overflow:hidden;line-height:1;height:1em;vertical-align:middle;}
.eq-roll b{display:block;line-height:1;font-weight:400;transition:transform .42s cubic-bezier(.4,0,.2,1);}
.eq-pbtn:hover:not(:disabled) .eq-roll b{transform:translateY(-100%);}
/* the gold pill, kept for the last step only */
.eq-pbtn--gold{background:linear-gradient(135deg,#C9A84C 0%,#F0D77B 46%,#B08F3D 100%);color:#0E0D0C;border-color:rgba(214,183,93,.92);}
.eq-pbtn--gold:hover:not(:disabled){background:linear-gradient(135deg,#D8B657 0%,#F7E3A2 48%,#C19D43 100%);color:#0E0D0C;border-color:rgba(214,183,93,.92);transform:scale(1.05);box-shadow:0 10px 26px rgba(14,13,12,.28);}
.eq-back{justify-self:start;}
.eq-next{justify-self:end;}
.eq-steps{
  font-family:var(--display);font-size:clamp(26px,2.8vw,38px);letter-spacing:.06em;
  color:var(--eq-glass-ink);font-variant-numeric:tabular-nums;text-align:center;line-height:1;
  transition:color .3s ease;
}
/* on the last card it takes the send pill's gradient, so the two agree. The
   solid gold is set first and only replaced by the gradient where clipping
   text is actually supported — otherwise the number comes out black. */
.eq-steps.is-last{color:var(--eq-gold-deep);}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .eq-steps.is-last{background:linear-gradient(135deg,#C9A84C 0%,#F0D77B 46%,#B08F3D 100%);
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent;}
}
.eq-steps b{color:inherit;font-weight:400;}
/* The send failure line. It spans the whole footer under the three columns and
   collapses away when empty, so a working form never pays for it in height. */
.eq-status{
  grid-column:1 / -1;margin:0;
  font-family:var(--sans);font-size:13px;font-weight:400;line-height:1.5;
  text-align:center;color:rgba(32,28,20,.74);
}
.eq-status:empty{display:none;}
.eq-status.is-error{color:var(--eq-err);}
.eq-status a{color:var(--eq-gold-text);}

/* ── focus ────────────────────────────────────────────────────────────────
   Both pages carry a global focus ring of outline:3px var(--ink) plus a 7px
   rgba(accent,.45) glow. The old dark form suppressed it and so does this one:
   on glass the glow reads as a second, blurrier box around the field. The
   box-shadow has to be cleared explicitly — overriding `outline` alone leaves
   the glow behind, which is exactly how it came back when the old form's
   suppression rule was removed.
   The ring is --bronze #8A6E33, not the prototype's #B08F3D: measured against
   the glass, #B08F3D is 2.78:1 and #8A6E33 is 4.39:1, so only the darker one
   clears WCAG's 3:1 for a focus indicator. */
.eq-panel button:focus-visible,.eq-panel input:focus-visible,.eq-panel select:focus-visible,
.eq-panel textarea:focus-visible,.eq-panel a:focus-visible,.eq-panel [tabindex]:focus-visible{
  outline:2px solid #8A6E33;outline-offset:3px;box-shadow:none;}
/* A field inside a card says it has focus with its gold rule and its label
   turning gold, which is the approved design — no ring, and no glow either. */
.eq-card input:focus-visible,.eq-card select:focus-visible,.eq-card textarea:focus-visible{outline:none;box-shadow:none;}
/* The consent tick keeps a ring: it has no rule under it to draw. */
.eq-consent input:focus-visible{outline:2px solid #8A6E33;outline-offset:3px;box-shadow:none;}
/* These headings receive programmatic focus to announce each new question.
   They are not controls; retain rings on the actual interactive elements. */
.eq-panel .eq-q[tabindex]:focus,.eq-panel .eq-done-hed[tabindex]:focus{outline:none;box-shadow:none;}

/* ── success ──────────────────────────────────────────────────────────────
   The one opaque card: the v3 three-stop gold, filling the panel corner to
   corner so none of the glass shows through behind it. */
/* The footer is removed, not just hidden: at visibility:hidden it still held
   its 91px, leaving a pale strip of glass below the gold card. On the
   prototype's warm gradient that read as glass; on this site's #FFFFFF paper it
   read as an unfinished white band. It goes at the START of the roll, so the
   panel shortening and the gold shutter coming down are one motion. */
.eq-panel.is-done .eq-foot{display:none;}
.eq-card--done{--eq-qh:auto;padding:0!important;background:linear-gradient(135deg,#C9A84C 0%,#F0D77B 46%,#B08F3D 100%);}
.eq-done{
  background:none;color:#0E0D0C;height:100%;
  padding:var(--eq-sp6) clamp(22px,2.8vw,42px);
  display:grid;justify-items:center;align-content:center;text-align:center;gap:var(--eq-sp3);
}
.eq-done-hed{font-family:var(--display);font-weight:400;font-size:clamp(34px,5vw,72px);line-height:.95;letter-spacing:.01em;margin:0;text-wrap:balance;}
.eq-done p{margin:0;font-family:var(--sans);font-size:clamp(15px,1.2vw,17.5px);line-height:1.68;color:rgba(14,13,12,.78);max-width:48ch;}
.eq-tick{width:52px;height:52px;}
.eq-tick circle{fill:none;stroke:rgba(14,13,12,.24);stroke-width:2;}
.eq-tick path{fill:none;stroke:#0E0D0C;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:34;stroke-dashoffset:34;animation:eq-draw 620ms var(--eq-ease) 180ms forwards;}
@keyframes eq-draw{to{stroke-dashoffset:0;}}

/* ── the info row under the panel ─────────────────────────────────────────
   What the old dark info pad carried: the direct address, the next step and
   where we are. One quiet centred row rather than a third of the section. */
.eq-info{
  list-style:none;margin:clamp(22px,3vw,34px) auto 0;padding:0;
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;
  gap:6px clamp(16px,2.4vw,30px);text-align:center;
}
.eq-info li{display:flex;align-items:baseline;gap:8px;font-family:var(--sans);font-size:clamp(13.5px,1.05vw,15.5px);font-weight:400;line-height:1.5;color:#57544C;}
/* One typeface and one size across the row. The label was Bebas, uppercase
   and tracked out against a Geist value, which read as two systems in a
   line of six words. It is told apart by colour and weight now. */
.eq-info .eq-info-k{font-family:inherit;font-size:inherit;font-weight:500;letter-spacing:0;text-transform:none;color:#8A6E33;}
.eq-info a{color:#6F5A12;text-decoration:none;border-bottom:1px solid rgba(111,90,18,.35);transition:color .2s,border-color .2s;}
.eq-info a:hover{color:#4F400D;border-bottom-color:#6F5A12;}
.eq-info .eq-info-note{color:#6B6860;}

/* ── the no-JS form ───────────────────────────────────────────────────────
   With JavaScript off the stepper shows card 1 and a dead Next button, so the
   panel is hidden by a <noscript><style> in the page and this plain stacked
   form takes its place. It posts to Formspree directly, which answers with
   their own confirmation page. */
.eq-plain{
  max-width:660px;margin:0 auto;padding:clamp(26px,4vw,44px) clamp(20px,3vw,34px);
  border-radius:var(--eq-radius,24px);background:#FFFFFF;border:1px solid #DDD9D2;
  display:grid;gap:18px;
}
.eq-plain h2,.eq-plain h3{font-family:var(--display);font-weight:400;font-size:clamp(30px,4vw,48px);line-height:.95;margin:0;color:#0E0D0C;}
.eq-plain label{display:grid;gap:7px;font-family:var(--sans);font-size:14.5px;font-weight:500;color:#3C3A34;}
.eq-plain input,.eq-plain textarea,.eq-plain select{
  font-family:var(--sans);font-size:16px;font-weight:400;color:#0E0D0C;
  padding:11px 13px;border:1px solid #DDD9D2;border-radius:10px;background:#FFFFFF;width:100%;
}
.eq-plain textarea{min-height:120px;resize:vertical;line-height:1.6;}
.eq-plain .eq-plain-consent{grid-template-columns:auto 1fr;align-items:start;gap:10px;font-weight:400;font-size:13.5px;line-height:1.55;}
.eq-plain .eq-plain-consent input{width:auto;}
.eq-plain button{
  font-family:var(--display);font-size:16px;letter-spacing:.13em;text-transform:uppercase;
  padding:15px 24px;border-radius:999px;cursor:pointer;justify-self:start;
  background:linear-gradient(135deg,#C9A84C 0%,#F0D77B 46%,#B08F3D 100%);color:#0E0D0C;border:1px solid rgba(214,183,93,.92);
}
.eq-plain p{margin:0;font-family:var(--sans);font-size:13.5px;line-height:1.6;color:#6B6860;}
.eq-plain a{color:#6F5A12;}

/* ── glass fallbacks, same as nav-glass.css ─────────────────────────────── */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.eq-panel,.eq-chip{background:#F5F3EF;}}
@media(prefers-reduced-transparency:reduce){.eq-panel{background:#F5F3EF;backdrop-filter:none!important;-webkit-backdrop-filter:none;}}
@media(prefers-reduced-motion:reduce){
  .eq-panel *{animation:none!important;}
  /* The tick is drawn BY that animation, so switching it off left the success
     card showing an empty circle. Put the stroke on directly instead. */
  .eq-tick path{stroke-dashoffset:0;}
  .eq-card .eq-q,.eq-card .eq-help,.eq-card .eq-fields,.eq-card .eq-ctl::before{transition:none!important;}
  .eq-pbtn:hover:not(:disabled){transform:none;}
  .eq-pbtn .eq-roll b,.eq-pbtn svg{transition:none;}
  .eq-pbtn:hover:not(:disabled) .eq-roll b,.eq-pbtn:hover:not(:disabled) svg{transform:none;}
}

/* measured at 485px: Back 124 + Next 150 + two 12px gaps + the 36px inset is
   334, well inside the width, so the count has no reason to drop onto its own
   row until the screen is genuinely narrow */
@media(max-width:560px){
  .eq-pbtn{font-size:15px;padding:var(--eq-sp2) 20px;min-width:0;}
}
@media(max-width:430px){
  .eq-foot{grid-template-columns:auto auto;row-gap:var(--eq-sp2);justify-content:space-between;}
  .eq-steps{order:3;grid-column:1 / -1;text-align:left;}
  .eq-status{order:4;}
}

/* Phone intake: compact the space, not the touch targets or input text. */
@media (max-width:768px),(hover:none) and (pointer:coarse) and (orientation:portrait) and (max-width:1366px){
  /* Fixed nav clearance; no viewport-driven form centring. */
  .start-form-wrap .eq-scene{padding-top:88px;}
  .eq-panel{
    --eq-sp1:6px;--eq-sp2:8px;--eq-sp3:10px;
    --eq-sp4:12px;--eq-sp5:14px;--eq-sp6:30px;
  }
  .eq-q{font-size:32px;}
  .eq-help{line-height:1.45;}
  .eq-panel{--eq-field-size:17px;}
  .eq-chip{min-height:44px;padding:9px 12px;}
  .eq-panel .eq-chip{font-family:var(--sans);font-size:14.5px;}
  .eq-pbtn{min-height:44px;padding:10px 14px;font-size:15px;min-width:0;}
  .eq-foot{grid-template-columns:1fr auto 1fr;gap:10px;}
  .eq-steps{order:0;grid-column:auto;text-align:center;}
  .eq-status{order:4;}
  .eq-info{flex-direction:column;align-items:center;margin-top:30px;gap:12px;}
  .eq-info li:nth-child(3){order:-1;}
}
