/* The Cookie Club: the enquiry form (/enquire/) and the page that follows it (/thank-you/).
     .eq-hero     the heading, on the storefront's field of colour
     .eq-part     the form's three parts, each on its own card with its number on a bitten biscuit
     .enq-news    the question that sends it ("Join the club while you're here?"), kept as it was
     .eq-side     what helps to include, and other ways to reach us. It follows the page down.
     .eq-done     thank you, with where to go next (.eq-next) under it
   Loaded by these two pages only (enquire and thanks in src/pages.mjs), after site.css, fresh.css,
   fresh-rest.css and fresh-shop.css. The form is run by assets/js/enquiry.js, which finds everything by
   id: nothing here depends on, or changes, how it works. */

/* This is where the footer's "Tell us your idea" leads, so it's left off here. */
.eq-body .f-cta { display: none; }
.eq-body .f-foot { padding-top: clamp(2.75rem, 6vw, 4.5rem); }

.eq-hero .f-crumbs ol { margin-bottom: clamp(0.9rem, 2vw, 1.4rem); }
.chrome-new .eq-hero h1 { margin: 0; font-size: clamp(2.9rem, 2rem + 4.6vw, 5.2rem); line-height: 0.92; color: var(--field-head); }
.eq-hero .s-hero-sub { max-width: 52ch; }

.eq-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr); align-items: start; gap: clamp(1.5rem, 4vw, 3.5rem); }

/* ---------- the form ---------- */
.chrome-new .eq-main .enquiry { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.eq-part { min-width: 0; margin: 0 0 18px; padding: clamp(1.25rem, 3vw, 1.9rem) clamp(1.1rem, 3vw, 1.9rem) clamp(0.4rem, 1.4vw, 0.8rem); border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
/* (A legend sits on its box's top edge unless it's floated: this one belongs inside the card.) */
.eq-part > legend { float: left; display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 clamp(1rem, 2.4vw, 1.4rem); padding: 0; font: 400 clamp(1.45rem, 1.25rem + 0.9vw, 1.8rem)/1.05 var(--font-display); color: var(--heading); }
.eq-part > legend + * { clear: both; }
.eq-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.3rem; line-height: 1; -webkit-mask: radial-gradient(circle at 86% 13%, transparent 20%, #000 21%); mask: radial-gradient(circle at 86% 13%, transparent 20%, #000 21%); }
.eq-main .enquiry label { font-size: 1rem; }
.eq-main .enquiry input:not([type='file']):not([type='hidden']), .eq-main .enquiry select, .eq-main .enquiry .dp-field { min-height: 54px; font-size: 1.05rem; font-weight: 700; }
.eq-main .enquiry textarea { min-height: 170px; font-size: 1.05rem; font-weight: 700; line-height: 1.5; }
.eq-main .enquiry textarea::placeholder { font-weight: 600; }
.eq-main .enquiry .field { margin-bottom: 1.15rem; }
.chrome-new .eq-main .link-btn { min-height: 28px; font-size: 0.97rem; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.chrome-new .eq-main .link-btn:hover { text-decoration-color: var(--mark); }
.chrome-new .eq-main .enq-drop { padding: 16px 18px; border-radius: 18px; background: var(--soft); border-color: var(--field-line); }
.chrome-new .eq-main .enq-drop.is-over { background: var(--soft-2); border-color: var(--mark); }
.chrome-new .eq-main .enq-pick { background: #fff; }
.chrome-new .eq-main .enq-drop-or, .chrome-new .eq-main .enq-files-hint { color: var(--text-soft); }
.chrome-new .eq-main .enq-file { background: var(--soft); border-radius: 16px; }
.chrome-new .eq-main .enq-file-words strong { color: var(--text); }
.chrome-new .eq-main .enq-file-off { color: var(--text); }
.eq-main .enq-files-hint { font-size: 0.93rem; line-height: 1.5; }

/* The question that sends it. */
.chrome-new .eq-main .enq-news { margin: 0; padding: clamp(1.25rem, 3vw, 1.9rem); border-radius: var(--r-lg); background: var(--soft); }
.eq-main .enq-news-q { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); }
.eq-main .enq-news-what { font-size: 0.98rem; font-weight: 600; color: var(--text-soft); }
.chrome-new .eq-main .enq-news-btns .btn { min-height: 60px; font-size: 1.08rem; }
.chrome-new .eq-main .enq-progress { background: var(--soft-2); }
.chrome-new .eq-main .enq-progress-bar { background: var(--accent); }
.eq-main .enquiry .form-status { margin: 1rem 0 0; font-size: 1.02rem; }
.chrome-new .eq-main .eq-agree { margin: 1rem 0 0; font-size: 0.93rem; line-height: 1.5; color: var(--text-soft); }
.eq-main .cf-turnstile { margin: 0 0 18px; }

/* ---------- beside the form ---------- */
.eq-side { position: sticky; top: calc(var(--head-h) + 20px); padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1.3rem, 2.6vw, 1.9rem); border-radius: var(--r-lg); background: var(--soft); --accent-ink: var(--accent-deep); }
.eq-side-part { padding: clamp(1.1rem, 2.2vw, 1.5rem) 0; }
.eq-side-part + .eq-side-part { border-top: 2px dashed var(--line); }
.chrome-new .eq-side h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.05; color: var(--text); }
.eq-side p, .eq-side address { margin: 0 0 0.6rem; font-style: normal; font-weight: 600; line-height: 1.55; color: var(--text-soft); }
.eq-side-part > :last-child { margin-bottom: 0; }
.eq-side strong { color: var(--text); }
.chrome-new .eq-side a { font-weight: 800; color: var(--accent-deep); overflow-wrap: anywhere; }
.eq-ticks { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; font-weight: 700; line-height: 1.35; color: var(--text); }
.eq-ticks li { display: flex; align-items: flex-start; gap: 11px; }
.eq-tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); -webkit-mask: radial-gradient(circle at 88% 12%, transparent 21%, #000 22%); mask: radial-gradient(circle at 88% 12%, transparent 21%, #000 22%); }
.eq-tick svg { width: 62%; height: 62%; }
.eq-side .eml-line { margin-bottom: 0; }
.chrome-new .eq-side .eml-copy { margin-left: 0.3rem; }

/* ---------- thank you ---------- */
.eq-done { text-align: center; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.eq-done-in { display: grid; justify-items: center; }
.eq-done .thanks-img { width: clamp(110px, 14vw, 150px); height: auto; margin: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(1rem, 2.4vw, 1.6rem); transform: rotate(-6deg); }
.chrome-new .eq-done h1 { margin: 0; max-width: 14ch; font-size: clamp(2.7rem, 1.9rem + 4.4vw, 5rem); line-height: 0.94; color: var(--field-head); text-wrap: balance; }
.eq-done .s-hero-sub { max-width: 46ch; }
.chrome-new .eq-done .s-hero-sub a, .chrome-new .eq-done .thanks-junk a { color: var(--field-ink); font-weight: 800; }
.chrome-new .eq-done .thanks-junk { max-width: 36rem; margin: clamp(1.4rem, 3vw, 2rem) 0 0; padding: 16px 22px; border: 0; border-radius: var(--r-md); background: #fff; font-weight: 600; line-height: 1.55; color: var(--text-soft); box-shadow: var(--shadow); }
.eq-done .thanks-junk strong { color: var(--text); }
/* Where to go from here, under the icing. */
.eq-next { padding-bottom: clamp(3rem, 7vw, 5rem); }
.eq-done-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; margin: 0; }

@media (max-width: 900px) {
  .eq-grid { grid-template-columns: minmax(0, 1fr); }
  .eq-side { position: static; }
}
@media (max-width: 560px) {
  .eq-n { width: 40px; height: 40px; font-size: 1.2rem; }
  .eq-part > legend { gap: 12px; }
}
