/* ==========================================================================
   Landing Page v2 — exact reference CSS scoped under body.helix-landing
   so it never bleeds onto any other page template.
   Tokens (--acc, --desk, --paper, --card, --ink, etc.) come from
   helix_design_token_css() in functions.php — not redefined here.
   The :root block from landing_reference.html is intentionally omitted.
   ========================================================================== */

/* ── Scope all landing styles so they never affect other pages ─────────── */

/* wrap: landing uses constrained max-width vs theme's full-width wrap */
.helix-landing .wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 clamp(20px,5vw,60px)}

/* gradient text utility (already in main CSS but ensure it works here) */
.helix-landing .gt{background:linear-gradient(100deg,var(--ga),var(--gb));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* ── Buttons: landing uses gradient bg vs main site's solid --acc ──────── */
.helix-landing .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 13.5px var(--mono);letter-spacing:.03em;text-transform:uppercase;color:#0a1a10;background:linear-gradient(100deg,var(--ga),var(--gb));border:none;border-radius:4px;padding:16px 26px;cursor:pointer;text-decoration:none}
.helix-landing .btn2{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:700 13.5px var(--mono);letter-spacing:.03em;text-transform:uppercase;color:var(--ink);background:transparent;border:1.5px solid rgba(233,243,236,.5);border-radius:4px;padding:14.5px 26px;cursor:pointer;text-decoration:none}
.helix-landing .btnd{background:#0a1f14;color:#f2d79a;padding:16px 28px}

/* ── Top bar ───────────────────────────────────────────────────────────── */
.helix-landing .top{position:sticky;top:0;z-index:60;background:color-mix(in oklch,var(--paper),transparent 6%);backdrop-filter:blur(14px);border-bottom:1px solid var(--line2)}
.helix-landing .topin{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}
.helix-landing .brandimg{height:34px;width:auto}
.helix-landing .topr{display:flex;align-items:center;gap:18px}
.helix-landing .phone{font:700 13px var(--mono);color:var(--ink2);text-decoration:none;white-space:nowrap}
.helix-landing .phone:hover{color:var(--acc)}
@media(max-width:640px){.helix-landing .phone{display:none}}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.helix-landing .hero{position:relative;min-height:92vh;display:flex;align-items:center;overflow:hidden}
.helix-landing .heroimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.helix-landing .heroov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,10,7,.55) 0%,rgba(4,10,7,.45) 35%,rgba(4,19,12,.92) 92%)}
.helix-landing .herogrid{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(28px,4vw,56px);align-items:center;padding:120px 0 70px;width:100%}
.helix-landing .heroh{font:800 clamp(38px,5.6vw,68px) var(--disp);line-height:.99;letter-spacing:-.02em;margin:18px 0 0;color:#f9f4ea}
.helix-landing .herosub{font:400 clamp(17px,1.8vw,20px)/1.55 var(--serif);color:#d6e0d8;max-width:560px;margin:20px 0 0}
.helix-landing .availpill{display:inline-flex;align-items:center;gap:8px;font:700 10.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--acc);border:1px solid var(--acc);border-radius:3px;padding:6px 11px;background:color-mix(in oklch,var(--acc),transparent 88%);margin:22px 0 0}
.helix-landing .availpill::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--acc)}
.helix-landing .herocta{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.helix-landing .reassure{font:400 12.5px var(--mono);color:var(--ink2);margin-top:18px;display:flex;align-items:center;gap:8px}
.helix-landing .reassure b{color:var(--acc);font-weight:400}
@media(max-width:900px){.helix-landing .herogrid{grid-template-columns:1fr}}

/* ── Quote form card ────────────────────────────────────────────────────── */
.helix-landing .qcard{position:relative;z-index:1;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:clamp(24px,3vw,34px);box-shadow:0 30px 70px rgba(0,0,0,.45)}
.helix-landing .qh{font:800 22px var(--disp);letter-spacing:-.01em;color:var(--ink)}
.helix-landing .qsub{font:400 13.5px/1.5 var(--serif);color:var(--ink2);margin-top:6px}
.helix-landing .qform{display:flex;flex-direction:column;gap:10px;margin-top:20px;background:none;border:none;border-radius:0;padding:0}
.helix-landing .qrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.helix-landing .qfield{display:flex;flex-direction:column;gap:4px}
.helix-landing .qfield label{font:700 10px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mut);line-height:1;margin:0}
.helix-landing .qfield input,.helix-landing .qfield select,.helix-landing .qfield textarea{font:400 15px var(--serif);color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:11px 12px;width:100%}
.helix-landing .qfield input::placeholder,.helix-landing .qfield textarea::placeholder{color:var(--mut)}
.helix-landing .qfield textarea{resize:vertical;min-height:64px}
.helix-landing .qsubmit{margin-top:6px;width:100%;border:none;display:block;background:linear-gradient(100deg,var(--ga),var(--gb));color:#0a1a10;padding:16px 26px;font:700 13.5px var(--mono);letter-spacing:.03em;text-transform:uppercase;border-radius:4px;cursor:pointer}
.helix-landing .qnote{font:400 11.5px var(--mono);color:var(--mut);margin-top:10px;text-align:center}
@media(max-width:640px){.helix-landing .qrow{grid-template-columns:1fr}}
.helix-landing .qcard-success{font:400 16px/1.7 var(--serif);color:var(--ink);text-align:center;padding:28px 0}
.helix-landing .qcard-success strong{color:var(--acc)}

/* Phone-only: JS relocates .qcard here, out of the hero image section (see
   [helix_lp_hero]). Empty on tablet/desktop, where the card stays put in
   .herogrid, so this collapses to nothing there. */
.helix-landing .qcard-mobile-slot:empty{display:none}
.helix-landing .qcard-mobile-slot{padding:40px clamp(20px,5vw,40px);background:var(--paper)}

/* ── Credibility band ───────────────────────────────────────────────────── */
/* Reset: main CSS makes .creds itself display:grid with side padding; landing uses inner .credgrid for the grid. */
.helix-landing .creds{background:var(--ink);display:block;padding-left:0;padding-right:0}
.helix-landing .credgrid{display:grid;grid-template-columns:repeat(4,1fr)}
.helix-landing .cred{padding:26px clamp(16px,3vw,36px);border-right:1px solid rgba(4,19,12,.14)}
.helix-landing .cred:last-child{border-right:none}
.helix-landing .credk{font:700 10px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--gb)}
.helix-landing .credv{font:400 14.5px/1.35 var(--serif);color:#123021;margin-top:8px}
.helix-landing .credv b{font:800 25px var(--disp);color:#0a1f14;display:block;letter-spacing:-.01em;line-height:1;text-transform:capitalize}
@media(max-width:760px){.helix-landing .credgrid{grid-template-columns:repeat(2,1fr)}.helix-landing .cred{border-bottom:1px solid rgba(4,19,12,.14)}}

/* ── Client strip ───────────────────────────────────────────────────────── */
.helix-landing .clients{border-bottom:1px solid var(--line2);background:var(--paper);padding:clamp(30px,4vw,44px) 0}
.helix-landing .clientshd{font:700 10.5px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--mut);text-align:center;margin-bottom:24px}
.helix-landing .clientrow{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(24px,4vw,52px)}
.helix-landing .cwm{font:700 15px var(--disp);letter-spacing:-.01em;color:var(--ink2);white-space:nowrap}

/* ── Section framing (centered heading, different from main site's .sechd) */
.helix-landing .sec{padding:clamp(60px,7vw,100px) 0}
.helix-landing .sec.pap{background:var(--paper)}
.helix-landing .sechd{max-width:680px;margin:0 auto 44px;text-align:center;display:block;border-bottom:none;padding-bottom:0}
.helix-landing .sect{font:800 clamp(28px,3.6vw,42px) var(--disp);letter-spacing:-.01em;line-height:1.04;max-width:none;text-align:center}
.helix-landing .secsub{font:400 16.5px/1.6 var(--serif);color:var(--ink2);margin-top:14px}
.helix-landing .kick{font:700 11.5px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--acc)}

/* ── Algorithm vs handcrafted ───────────────────────────────────────────── */
.helix-landing .vslead{font:400 clamp(18px,2vw,21px)/1.55 var(--serif);color:var(--ink);max-width:760px;margin:0 auto 40px;text-align:center}
.helix-landing .vsrow{display:grid;grid-template-columns:1fr 1fr;max-width:920px;margin:0 auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.helix-landing .vscol{padding:clamp(28px,3.5vw,40px) clamp(26px,3vw,38px)}
.helix-landing .vscol.no{background:var(--card)}
.helix-landing .vscol.yes{background:var(--card2);border-left:1px solid var(--line)}
.helix-landing .vsh{font:800 17px var(--disp);letter-spacing:-.005em;margin-bottom:16px;display:flex;align-items:center;gap:10px}
.helix-landing .vsh.no{color:var(--mut)}
.helix-landing .vsh.yes{color:var(--acc)}
.helix-landing .vsmark{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font:700 12px var(--mono);flex:none}
.helix-landing .vsmark.no{background:rgba(114,138,124,.18);color:var(--mut)}
.helix-landing .vsmark.yes{background:var(--acc);color:#0a1a10}
.helix-landing .vslist{display:flex;flex-direction:column;gap:13px;list-style:none;margin:0;padding:0}
.helix-landing .vsitem{font:400 14.5px/1.5 var(--serif);color:var(--ink2);display:flex;gap:11px;align-items:flex-start}
.helix-landing .vsitem::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--mut);flex:none;margin-top:9px}
.helix-landing .vscol.yes .vsitem::before{background:var(--acc)}
@media(max-width:760px){.helix-landing .vsrow{grid-template-columns:1fr}.helix-landing .vscol.yes{border-left:none;border-top:1px solid var(--line)}}

/* ── Offer grid: uses site-wide .egrid/.ecard from style.css ─────────────── */

/* ── Gallery: uses site-wide .medgal from style.css ─────────────────────── */

/* ── Roster ─────────────────────────────────────────────────────────────── */
.helix-landing .roster{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(32px,5vw,64px);align-items:center}
.helix-landing .rimg{border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.helix-landing .rimg img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.helix-landing .rlead{font:400 clamp(19px,2.1vw,23px)/1.5 var(--serif);color:var(--ink);max-width:560px}
.helix-landing .rlead em{font-style:italic}
.helix-landing .rbody{font:400 16.5px/1.75 var(--serif);color:var(--ink2);max-width:560px;margin-top:20px}
.helix-landing .rstats{display:flex;gap:clamp(20px,3vw,40px);margin-top:28px;flex-wrap:wrap}
.helix-landing .rstat b{font:800 30px var(--disp);color:var(--acc);display:block;letter-spacing:-.01em}
.helix-landing .rstat span{font:400 12px var(--mono);color:var(--mut);text-transform:uppercase;letter-spacing:.05em}
@media(max-width:800px){.helix-landing .roster{grid-template-columns:1fr}}

/* ── Testimonial ────────────────────────────────────────────────────────── */
.helix-landing .tfeat{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:clamp(36px,5vw,60px);text-align:center;max-width:840px;margin:0 auto}
.helix-landing .stars{color:var(--acc);letter-spacing:4px;font-size:16px}
.helix-landing .tfq{font:500 clamp(22px,2.8vw,30px)/1.45 var(--serif);font-style:italic;color:var(--ink);margin:20px 0 22px}
.helix-landing .tfa{font:700 12px var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--mut)}
.helix-landing .tfa b{color:var(--acc);font-weight:700}
.helix-landing .proofrow{display:flex;justify-content:center;gap:clamp(28px,4vw,56px);margin-top:36px;flex-wrap:wrap}
.helix-landing .proofitem{text-align:center}
.helix-landing .proofitem b{font:800 26px var(--disp);color:var(--ink);display:block;letter-spacing:-.01em}
.helix-landing .proofitem span{font:400 11.5px var(--mono);color:var(--mut);text-transform:uppercase;letter-spacing:.05em}

/* ── Price / final CTA band ─────────────────────────────────────────────── */
.helix-landing .priceband{background:linear-gradient(100deg,var(--ga),var(--gb));border-radius:16px;padding:clamp(32px,5vw,56px);display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.helix-landing .pricet{font:800 clamp(26px,3.4vw,38px) var(--disp);letter-spacing:-.01em;color:#0a1f14;line-height:1.05;max-width:600px}
.helix-landing .prices{font:400 15.5px/1.55 var(--serif);color:#14311f;max-width:460px;margin-top:8px}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.helix-landing .foot{background:var(--chrome);border-top:1px solid var(--line2);padding:clamp(40px,5vw,60px) 0 24px}
.helix-landing .footin{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.helix-landing .footdesc{font:400 13.5px/1.6 var(--serif);color:var(--mut);max-width:440px}
/* Reset: main CSS .footbar has display:flex, margin-top, border-top, padding from the full-site footer. */
.helix-landing .footbar{font:400 11.5px var(--mono);color:var(--mut);display:block;margin-top:0;border-top:none;padding:0}

/* ══ RESPONSIVE ════════════════════════════════════════════════════════════
   Breakpoints:
     ≤900px  hero stacks (handled above), reduce padding
     ≤880px  egrid — override site 1-col so tablet portrait keeps 2 col
     ≤800px  roster stacks (handled above), fix portrait image height
     ≤640px  phone landscape / small tablet
     ≤480px  phone portrait
     landscape + short viewport — hero height
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Stacked hero padding (≤900px) ──────────────────────────────────────── */
@media(max-width:900px){
  .helix-landing .herogrid{padding:72px 0 48px}
}

/* ── Keep egrid 2-col on tablet portrait (site CSS drops to 1 at ≤880px) ── */
@media(max-width:880px){
  .helix-landing .egrid{grid-template-columns:repeat(2,1fr)}
}

/* ── Roster: portrait image too tall when stacked ───────────────────────── */
@media(max-width:800px){
  .helix-landing .rimg img{aspect-ratio:16/9;max-height:280px;width:100%}
}

/* ── Phone landscape / small tablet (≤640px) ───────────────────────────── */
@media(max-width:640px){
  /* Hero: tighter top padding, form card not crushed */
  .helix-landing .herogrid{padding:52px 0 40px}

  /* CTAs: stack full-width so both fit without wrapping awkwardly */
  .helix-landing .herocta{flex-direction:column}
  .helix-landing .herocta .btn,
  .helix-landing .herocta .btn2{width:100%;justify-content:center;text-align:center;box-sizing:border-box}

  /* Event grid: 1 col on phone */
  .helix-landing .egrid{grid-template-columns:1fr}

  /* Price band: stack text + button */
  .helix-landing .priceband{flex-direction:column;align-items:flex-start}
  .helix-landing .priceband .btn{width:100%;justify-content:center;box-sizing:border-box;margin-top:6px}
}

/* ── Phone portrait (≤480px) ────────────────────────────────────────────── */
@media(max-width:480px){
  /* Tighter section rhythm */
  .helix-landing .sec{padding:clamp(40px,9vw,60px) 0}
  .helix-landing .sechd{margin-bottom:28px}

  /* Credibility: 4 stats → 1 col so numbers breathe */
  .helix-landing .credgrid{grid-template-columns:1fr}
  .helix-landing .cred{border-right:none;border-bottom:1px solid rgba(4,19,12,.14)}
  .helix-landing .cred:last-child{border-bottom:none}

  /* Quote form: single col already at 640px, just fine-tune spacing */
  .helix-landing .qcard{padding:20px 18px}

  /* Roster stats: wrap tightly */
  .helix-landing .rstats{gap:16px}
}

/* ── Phone landscape: hero must not lock viewport height ────────────────── */
@media(max-height:500px) and (orientation:landscape){
  .helix-landing .hero{min-height:auto}
  .helix-landing .herogrid{padding:44px 0 36px}
}

/* ── WPForms 475 (quote form) label color ────────────────────────────────── */
.helix-landing .he_form > label{color:#fff !important}
.helix-landing legend.wpforms-field-label{color:#fff !important}
.helix-landing label.wpforms-field-sublabel.after{color:#fff !important}

/* Submit button: same look as .btn (assets/css/style.css), pinned so WPForms'
   own hover/focus styling can't swap the background or text color. */
.helix-landing #wpforms-submit-475{display:inline-flex !important;align-items:center;gap:8px;font:700 12.5px var(--mono) !important;letter-spacing:.03em;text-transform:uppercase;color:#0a1a10 !important;background:var(--acc) !important;border:none;border-radius:var(--radius-sm,3px);padding:13px 20px;cursor:pointer;text-decoration:none}
.helix-landing #wpforms-submit-475:hover,
.helix-landing #wpforms-submit-475:focus,
.helix-landing #wpforms-submit-475:active{background:var(--acc) !important;color:#0a1a10 !important}
