/* /hire/enquire inside the site's own page (operator, 2026-11-10: "why this form displays on its own without the header").
   Every class here starts hq-, so the site's styles and these never meet. */
.hq {
  --navy:#1F2B45; --soft-navy:#C9CFDD;
  --forest:#2F4A2A; --forest-2:#3C5A33; --ivory:#FBF8F1; --cream:#F2ECDF; --gold:#C49A3C; --gold-lt:#D9B970; --gold-deep:#82611E;
  --ink:#1E241C; --muted:#5E6355; --hairline:rgba(47,74,42,.18); --bad:#9B2C1F;
  --r-sm:10px; --r-md:18px; --gutter:64px;
  --ease:cubic-bezier(.22,.61,.36,1); --glide:cubic-bezier(.16,1,.3,1);
  color:var(--ink); font:400 17px/1.55 Lato,system-ui,sans-serif; background:var(--cream);
}
.hq *, .hq *::before, .hq *::after { box-sizing:border-box; }
/* The app slides a page's first section in and leaves a transform on it (css/app.css), which would pin Continue to
   this section and not to the screen: no entrance here. */
.is-app .hq { animation:none !important; }

/* /hire: the private hire enquiry, one question at a time (from design/mocks/hire-mock.src.html, operator 2026-11-07). */
/* How far through: a fine line along the top of the container. */
.hq-track { flex:none; height:3px; background:rgba(47,74,42,.10); }
.hq-fill { height:100%; width:100%; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform 760ms var(--glide); }

/* One white container across the site's width, as tall as the question in it (operator, 2026-11-07:
   "this shouldnt span full height"), then the site's footer. */
.hq-main { padding:var(--page-top, 124px) max(var(--gutter), calc((100% - 1312px) / 2)) 56px; }
.hq-panel { min-width:0; display:flex; flex-direction:column; background:#fff; border:1px solid var(--hairline); border-radius:var(--r-md); overflow:hidden; }
.hq-stage { position:relative; overflow:hidden; }
.hq-q { display:flex; flex-direction:column; padding:clamp(28px,4vw,52px) clamp(20px,4vw,56px); will-change:transform,opacity; }
.hq-q-in { width:100%; }
.hq-a { will-change:transform,opacity; }

.hq-eyebrow { display:inline-flex; align-items:center; gap:14px; font-size:13px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-deep); }
.hq-eyebrow::after { content:""; width:32px; height:1px; background:var(--gold); }
.hq h1 { margin:14px 0 0; font:500 clamp(25px,3.3vw,44px)/1.14 Cinzel,Georgia,serif; letter-spacing:.07em; text-transform:uppercase; color:var(--forest); text-wrap:balance; }
.hq-hint { margin:12px 0 0; color:var(--muted); font-size:17px; }
.hq-lead { margin:18px 0 0; font-size:clamp(17px,1.5vw,20px); line-height:1.6; }
.hq-lead a { color:var(--forest); text-underline-offset:3px; }
.hq-answer { margin-top:clamp(22px,4vh,36px); }

/* A typed answer: the site's field, larger, across the container. */
.hq-fld { display:block; width:100%; padding:0 20px; height:68px; font:400 clamp(18px,1.6vw,21px) Lato,system-ui,sans-serif; color:var(--ink); background:#fff; border:1px solid var(--hairline); border-radius:var(--r-sm); outline:0; transition:border-color 220ms var(--ease), box-shadow 280ms var(--ease); }
textarea.hq-fld { height:clamp(130px,26vh,220px); padding:16px 20px; line-height:1.5; resize:none; }
.hq-fld:focus { border-color:var(--forest); box-shadow:0 0 0 3px rgba(196,154,60,.28); }
.hq-fld::placeholder { color:#8A8E80; }

/* The first screen: what this is, the studio, and what to expect. */
.hq-in-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:start; }
.hq-in-pic { display:block; width:100%; height:clamp(200px,24vw,300px); object-fit:cover; object-position:50% 0; border-radius:var(--r-sm); }
/* Four tiles, a picture on each (operator, 2026-11-07), tops level. */
.hq-in-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:clamp(28px,3.4vw,40px); align-items:stretch; }
.hq-in-fact { display:flex; flex-direction:column; border:1px solid var(--hairline); border-radius:var(--r-sm); overflow:hidden; background:#fff; }
.hq-in-img { display:block; width:100%; aspect-ratio:16 / 10; height:auto; object-fit:cover; background:var(--cream); }
.hq-in-txt { display:flex; flex-direction:column; gap:5px; padding:14px 16px 16px; }
.hq-in-fact b { font-size:15px; color:var(--forest); }
.hq-in-txt span { font-size:14.5px; line-height:1.45; color:var(--muted); }

/* Name, email and phone together, across the container. */
.hq-contact { display:grid; gap:12px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.hq-fld.hq-bad { border-color:var(--bad); }

/* Choices: tiles of one width, a tick that draws itself. */
.hq-tiles { display:grid; gap:12px; grid-template-columns:repeat(var(--n,3),minmax(0,1fr)); }
.hq-tile { position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:84px; padding:16px 18px; font:700 16px/1.3 Lato,system-ui,sans-serif; text-align:left; color:var(--forest); background:#fff; border:1px solid var(--hairline); border-radius:var(--r-sm); cursor:pointer; transition:background-color 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), transform 340ms var(--glide), box-shadow 260ms var(--ease); }
@media (hover:hover) { .hq-tile:hover { border-color:var(--forest); box-shadow:0 6px 18px rgba(47,74,42,.10); transform:translateY(-2px); } }
.hq-tile:active { transform:scale(.975); }
.hq-tile:focus-visible { outline:2px solid var(--gold-deep); outline-offset:2px; }
.hq-tile.hq-on { background:var(--forest); color:var(--ivory); border-color:var(--forest); }
.hq-tile svg { flex:none; width:22px; height:22px; fill:none; stroke:var(--gold-lt); stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.hq-tile svg path { stroke-dasharray:24; stroke-dashoffset:24; transition:stroke-dashoffset 320ms var(--ease); }
.hq-tile.hq-on svg path { stroke-dashoffset:0; }
.hq-tiles.hq-days .hq-tile { justify-content:center; min-height:84px; padding:10px 4px; text-align:center; }
.hq-tiles.hq-days .hq-tile svg { display:none; }
.hq-more { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows 460ms var(--glide), opacity 320ms var(--ease), margin-top 460ms var(--glide); }
.hq-more > div { overflow:hidden; padding:3px; margin:-3px; }
.hq-more.hq-open { grid-template-rows:1fr; opacity:1; margin-top:12px; }

.hq-err { display:grid; grid-template-rows:0fr; color:var(--bad); font-weight:700; font-size:15px; transition:grid-template-rows 300ms var(--glide), margin-top 300ms var(--glide); }
.hq-err > span { overflow:hidden; }
.hq-err.hq-show { grid-template-rows:1fr; margin-top:10px; }

/* Check your answers: a row each, press one to change it. */
.hq-rev { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(20px,3vw,40px); margin-top:clamp(14px,2.4vh,24px); }
.hq-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 14px; width:100%; padding:11px 0; font:inherit; color:inherit; text-align:left; background:none; border:0; border-bottom:1px solid var(--hairline); cursor:pointer; }
.hq-row b { grid-column:1; font-size:13px; letter-spacing:.04em; color:var(--muted); font-weight:700; }
.hq-row span { grid-column:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; }
.hq-rev .hq-row:last-child:nth-child(odd) { grid-column:1 / -1; }
.hq-row i { grid-column:2; grid-row:1 / 3; font-style:normal; font-weight:700; font-size:14px; color:var(--gold-deep); transition:transform 300ms var(--glide); }
.hq-row:hover i { transform:translateX(3px); }
.hq-row:focus-visible { outline:2px solid var(--gold-deep); outline-offset:2px; }

/* Thank you */
.hq-tick { display:block; width:84px; height:84px; margin-bottom:18px; fill:none; stroke:var(--gold); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.hq-tick .hq-c { stroke-dasharray:227; stroke-dashoffset:227; animation:hq-draw 760ms var(--ease) 160ms forwards; }
.hq-tick .hq-t { stroke:var(--forest); stroke-width:4; stroke-dasharray:50; stroke-dashoffset:50; animation:hq-draw 420ms var(--ease) 800ms forwards; }
@keyframes hq-draw { to { stroke-dashoffset:0; } }

/* The thank-you sits in the middle of the container. */
.hq-q-done { text-align:center; }
.hq-q-done .hq-tick { margin-inline:auto; }

/* Back and Continue, inside the container along its foot. */
.hq-foot { flex:none; display:flex; align-items:center; gap:14px; padding:16px clamp(20px,4vw,56px); border-top:1px solid var(--hairline); transition:opacity 300ms var(--ease), transform 460ms var(--glide); }
.hq-foot.hq-gone { opacity:0; transform:translateY(100%); pointer-events:none; }
.hq-count { margin-right:auto; font-size:14px; font-weight:700; color:var(--muted); display:inline-flex; overflow:hidden; font-variant-numeric:tabular-nums; }
.hq-count .hq-n { display:inline-block; }
.hq-btn { position:relative; display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 30px; border:0; border-radius:var(--r-md); font:700 16px Lato,system-ui,sans-serif; letter-spacing:.02em; cursor:pointer; text-decoration:none; transition:background-color 240ms var(--ease), color 240ms var(--ease), transform 320ms var(--glide), box-shadow 240ms var(--ease), width 320ms var(--glide), opacity 240ms var(--ease); }
.hq-btn:active { transform:scale(.97); }
.hq-btn:focus-visible { outline:2px solid var(--gold-deep); outline-offset:2px; }
.hq-go { background:var(--forest); color:var(--ivory); }
@media (hover:hover) { .hq-go:hover { background:var(--forest-2); box-shadow:0 8px 22px rgba(47,74,42,.22); } }
.hq-back { background:none; color:var(--forest); padding:0 12px 0 0; margin-left:-5px; gap:6px; }
.hq-back svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform 300ms var(--glide); }
.hq-back:hover svg { transform:translateX(-3px); }
.hq-back.hq-hide { opacity:0; pointer-events:none; }
.hq-label { display:inline-block; }
.hq-spin { width:20px; height:20px; border-radius:50%; border:2px solid rgba(251,248,241,.32); border-top-color:var(--ivory); animation:hq-rot 700ms linear infinite; }
@keyframes hq-rot { to { transform:rotate(360deg); } }

@media (max-width:900px) {
  .hq { --gutter:16px; }
  .hq-main { padding:var(--page-top, 92px) 12px max(12px, env(safe-area-inset-bottom)); }
  .hq h1 { font-size:23px; letter-spacing:.05em; }
  .hq-hint, .hq-lead { font-size:16px; }
  .hq-tiles { gap:10px; --n:2 !important; }
  .hq-tile { min-height:66px; padding:12px 14px; font-size:15px; }
  .hq-tiles.hq-one { --n:1 !important; }
  .hq-tiles.hq-days { --n:7 !important; gap:5px; }
  .hq-tiles.hq-days .hq-tile { min-height:60px; font-size:13px; padding:6px 0; }
  .hq-fld { height:58px; font-size:17px; padding:0 16px; }
  textarea.hq-fld { padding:13px 16px; }
  .hq-in-top { grid-template-columns:minmax(0,1fr); gap:14px; }
  .hq-in-pic { order:-1; height:170px; }
  .hq-in-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
  .hq-in-txt { padding:10px 12px 12px; gap:3px; }
  .hq-in-fact b { font-size:14px; }
  .hq-in-txt span { font-size:13px; }
  .hq-contact { grid-template-columns:minmax(0,1fr); gap:10px; }
  .hq-rev { grid-template-columns:minmax(0,1fr); }
  .hq-row { padding:8px 0; }
  .hq-row span { font-size:15px; }
  /* Continue always on screen at the bottom, in a container of its own; the question scrolls under it
     (operator, 2026-11-09: "you have to scroll to find continue button it should be always on screen at the bottom
     and the options should scroll instead"). The page keeps room for it so nothing hides behind. */
  .hq-foot { position:fixed; z-index:30; left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom, 0px)); padding:10px; gap:6px; background:rgba(255,255,255,.97); border:1px solid var(--hairline); border-radius:var(--r-md); box-shadow:0 14px 34px -16px rgba(30,40,28,.45); }
  .hq-foot.hq-gone { transform:translateY(calc(100% + 40px)); }
  .hq-back.hq-hide { display:none; }
  .hq-main { padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px)); }
  /* The site's own bar along the bottom of a phone (Register) would sit on Continue: not on this page. The footer
  keeps room so Continue never covers its last line. In the app the tabs are along the bottom, Continue above them. */
  body:has(.hq) .t-bar { display:none; }
  body:has(.hq) .t-footer { padding-bottom:calc(100px + env(safe-area-inset-bottom, 0px)); }
  .is-app .hq-foot { bottom:calc(82px + env(safe-area-inset-bottom, 0px)); }
  .is-app .hq-main { padding-bottom:calc(100px + env(safe-area-inset-bottom, 0px)); }
  .hq-count { display:none; }
  .hq-back { margin-right:auto; }
  .hq-go { flex:1; }
}
}
@media (prefers-reduced-motion: reduce) {
.hq *, .hq *::before, .hq *::after { transition-duration:1ms !important; animation-duration:1ms !important; animation-delay:0ms !important; }
}

