/* ============================================================================
   growth-archetype-test.css  ·  Growth Engine Archetype Test landing
   (slug: growth-archetype-test).

   Register: BRAND / "The Instrument Plate". Asymmetric, instrumented, never a
   centred stack. The embedded Zoho form is now a NATIVE HTML form (not an iframe),
   so it is styled here as a Sention diagnostic instrument (Geist + tokens, no
   Zoho teal/Arial). Design system moves in this file: a single live blue accent
   (not on every label), a recurring numeral register (tabular figures as
   readouts), a running section-index spine, and the four archetypes as a
   full-bleed hairline ledger (no cards). Uneven rhythm keyed to meaning.

   On submit the native form posts to Zoho (fires the N8n workflow) and redirects
   to /thank-you/?lm=growth-archetype via the zf_redirect_url hidden field.
   Scoped to .gat-page. Loaded after base.css + sention.css.
   ============================================================================ */

/* ---- WordPress chrome fix (harmless in preview) --------------------------- */
.site-header { background-color: transparent !important; }
.site-header--scrolled { background-color: color-mix(in srgb, var(--bg-base) 82%, transparent) !important; }
@media (max-width: 899px) {
  .site-header--scrolled { background-color: var(--bg-base) !important; }
}
.site-footer { background-color: var(--bg-base) !important; }

.gat-page {
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: clip;
}
.gat-page .gat-hero,
.gat-page .gat-specimen,
.gat-page .gat-reveal,
.gat-page .gat-how,
.gat-page .gat-types {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----------------------------------------------------------------------------
   SECTION-INDEX SPINE  ·  each section announces itself like a plate on a rig.
   Faint mono, a tabular index, a hairline running to the container edge.
   -------------------------------------------------------------------------- */
.gat-page .gat-sec-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-faint);
}
.gat-page .gat-sec-head__ix { color: var(--ink); font-variant-numeric: tabular-nums; }
.gat-page .gat-sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ----------------------------------------------------------------------------
   HERO  ·  asymmetric, left-anchored. A true display headline (one blue verb)
   beside a mono telemetry readout whose values sit in the numeral register.
   -------------------------------------------------------------------------- */
.gat-page .gat-hero {
  padding-top: clamp(7rem, 5rem + 6vw, 10rem);
  padding-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .gat-page .gat-hero { grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.75fr); }
  .gat-page .gat-tele { margin-top: 0.6rem; }   /* align the readout with the headline top */
}
.gat-page .gat-kicker {
  margin: 0 0 clamp(1rem, 0.7rem + 1vw, 1.5rem);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}
.gat-page .gat-title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}
/* the second sentence sits on its own line so no sentence boundary lands mid-line */
.gat-page .gat-title__b { display: block; }
.gat-page .gat-title__cmd { color: var(--accent); }
.gat-page .gat-lead {
  margin: clamp(1.2rem, 0.8rem + 1.2vw, 1.8rem) 0 0;
  max-width: 48ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-primary);
}
.gat-page .gat-lead strong { font-weight: 500; color: var(--ink); }

/* telemetry: numeral register. Large tabular value over a faint small key. */
.gat-page .gat-tele { margin: 0; display: grid; gap: 0; align-self: end; }
.gat-page .gat-tele__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.gat-page .gat-tele__row:last-child { border-bottom: 1px solid var(--line); }
.gat-page .gat-tele__row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.gat-page .gat-tele__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.02rem);
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink);
}

/* ----------------------------------------------------------------------------
   SPECIMEN  ·  the native form, framed as a specimen on a hairline plate. The
   bar carries a giant tabular "12" (the page's second display moment) + the live
   blue ping; a closing readout mirrors it under the frame.
   -------------------------------------------------------------------------- */
.gat-page .gat-specimen {
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 1.8rem + 3vw, 4rem);
}
.gat-page .gat-specimen__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  margin: 0 0 clamp(0.9rem, 0.6rem + 0.8vw, 1.35rem);
}
.gat-page .gat-specimen__count {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.gat-page .gat-specimen__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.5rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.gat-page .gat-specimen__unit {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.35;
}
.gat-page .gat-specimen__id {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}
.gat-page .gat-specimen__id i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent);
  animation: gat-ping 2.6s var(--ease-out) infinite;
}
@keyframes gat-ping {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 45%, transparent); }
  70%  { box-shadow: 0 0 0 9px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* the plate: white panel, hairline, L-shaped accent corner ticks */
.gat-page .gat-specimen__frame {
  position: relative;
  isolation: isolate;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
}
.gat-page .gat-specimen__frame::before,
.gat-page .gat-specimen__frame::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--accent);
  z-index: 1;
  pointer-events: none;
}
.gat-page .gat-specimen__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.gat-page .gat-specimen__frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* closing readout under the frame */
.gat-page .gat-specimen__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin: clamp(0.8rem, 0.6rem + 0.6vw, 1.15rem) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.gat-page .gat-specimen__foot b { font-weight: 500; color: var(--text-muted); }

/* ---- the native Zoho form, restyled as a Sention instrument ---------------
   Zoho's own form.css is NOT loaded; every .zf-* rule is defined here on tokens. */
.gat-page .gat-specimen__frame form,
.gat-page .gat-specimen__frame ul,
.gat-page .gat-specimen__frame li { margin: 0; padding: 0; list-style: none; }
.gat-page .zf-templateWidth { max-width: none; width: 100%; margin: 0; padding: 0; box-sizing: border-box; }
.gat-page .zf-templateWrapper { background: transparent; box-shadow: none; border-radius: 0; }
.gat-page .zf-backgroundBg { background: transparent; }
.gat-page .zf-tempHeadBdr { display: none; }               /* landing already pitches */
.gat-page .zf-subContWrap { padding: 0; }
.gat-page .zf-clearBoth { clear: both; }

.gat-page .zf-tempFrmWrapper {
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem) clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
  box-sizing: border-box;
}
/* the four contact fields share one step: separate them with hairlines */
.gat-page .zf-tempFrmWrapper.gat-step-contact + .zf-tempFrmWrapper.gat-step-contact { border-top: 1px solid var(--line); }
.gat-page .zf-labelName {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.gat-page .zf-important { color: var(--accent); font-size: 1rem; font-weight: 500; margin-left: 0.15em; }
.gat-page .zf-tempContDiv { margin: 0; padding: 0; }

.gat-page .zf-form-sBox,
.gat-page .zf-tempContDiv input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.gat-page .zf-tempContDiv input[type="text"]::placeholder { color: var(--text-faint); }
.gat-page .zf-form-sBox {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2334353c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.gat-page .zf-form-sBox:focus,
.gat-page .zf-tempContDiv input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent);
}
/* Name: First / Last side by side, faint mono sub-labels */
.gat-page .zf-nameWrapper { display: flex; flex-wrap: wrap; gap: 1rem; }
.gat-page .zf-nameWrapper > span { flex: 1 1 12rem; display: block; }
.gat-page .zf-nameWrapper > span input[type="text"] { width: 100%; }
.gat-page .zf-nameWrapper > span label {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.gat-page .zf-instruction {
  margin: 0.6rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--text-muted);
}
.gat-page .zf-errorMessage {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--accent-alt);
}
.gat-page .zf-fmFooter {
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.2rem) clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
  border-top: 1px solid var(--line);
  text-align: left;
}
.gat-page .zf-submitColor {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.95rem 2.1rem;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.gat-page .zf-submitColor:hover,
.gat-page .zf-submitColor:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

/* ----------------------------------------------------------------------------
   WHAT COMES BACK  ·  a spec-sheet ledger (hairline rows, mono index), one
   accent phrase. Bound tight to the specimen (no rule above it).
   -------------------------------------------------------------------------- */
.gat-page .gat-reveal {
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
.gat-page .gat-reveal__list { margin: 0; padding: 0; list-style: none; display: block; }
.gat-page .gat-reveal__list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text-primary);
}
.gat-page .gat-reveal__list li:last-child { border-bottom: 1px solid var(--line); }
.gat-page .gat-reveal__list li > span:last-child { max-width: 62ch; }
.gat-page .gat-reveal__ix {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.gat-page .gat-reveal__list b { font-weight: 500; color: var(--accent); }

/* ----------------------------------------------------------------------------
   HOW  ·  the step number is the anchor (big faint tabular figure).
   -------------------------------------------------------------------------- */
.gat-page .gat-how {
  padding-top: clamp(4rem, 2.5rem + 6vw, 8rem);
  padding-bottom: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.gat-page .gat-how__steps {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .gat-page .gat-how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gat-page .gat-step { display: flex; flex-direction: column; gap: 0.7rem; }
.gat-page .gat-step__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.gat-page .gat-step h3 {
  margin: 0.2rem 0 0;
  position: relative;
  padding-top: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.gat-page .gat-step h3::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1.5rem; height: 2px;
  background: var(--accent);
}
.gat-page .gat-step p {
  margin: 0;
  max-width: 40ch;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--text-muted);
}

/* ----------------------------------------------------------------------------
   THE FOUR ARCHETYPES  ·  full-bleed hairline ledger (NO cards). Big faint
   index / heavy name / muted line, three-column baseline rows.
   -------------------------------------------------------------------------- */
.gat-page .gat-types {
  padding-top: clamp(4rem, 2.5rem + 6vw, 8rem);
  padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-top: 1px solid var(--line);
}
.gat-page .gat-types__intro {
  max-width: 60ch;
  margin: 0 0 clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-primary);
}
.gat-page .gat-types__grid { display: block; }
.gat-page .gat-type {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: baseline;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0;
  border-top: 1px solid var(--line);
}
.gat-page .gat-type:last-child { border-bottom: 1px solid var(--line); }
.gat-page .gat-type__code {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
}
.gat-page .gat-type__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.gat-page .gat-type:hover .gat-type__name { color: var(--accent); }
.gat-page .gat-type__desc {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text-muted);
}
@media (max-width: 759px) {
  .gat-page .gat-type {
    grid-template-columns: 2.5rem 1fr;
    row-gap: 0.6rem;
  }
  .gat-page .gat-type__desc { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------------------------
   STEPPER  ·  one question at a time. A progress head (bar + count + back), the
   active question as a card with an entrance, and a Continue / Submit control.
   Injected + driven by JS; degrades to the full form if JS is off.
   -------------------------------------------------------------------------- */
.gat-page .gat-stepper__head {
  padding: clamp(1.2rem, 1rem + 1vw, 1.75rem) clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.gat-page .gat-stepper__bar {
  height: 3px;
  background: var(--line);
  overflow: hidden;
}
.gat-page .gat-stepper__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width var(--dur-base) var(--ease-out);
}
.gat-page .gat-stepper__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gat-page .gat-stepper__count { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.gat-page .gat-stepper__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                 /* touch target */
  margin: -0.6rem -0.4rem;          /* keep the label flush while growing the hit area */
  padding: 0.6rem 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.gat-page .gat-stepper__back:hover { color: var(--accent-ink); }
.gat-page .gat-stepper__back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: var(--accent-ink);
}

/* the card body: reserve height so the card does not jump between questions */
.gat-page .zf-subContWrap { min-height: 14rem; }

/* Continue control (forward after review / confirm); sits above the submit */
.gat-page .gat-stepper__controls {
  padding: 0 clamp(1.4rem, 1rem + 1.6vw, 2.5rem) clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  display: flex;
  justify-content: flex-end;
}
.gat-page .gat-stepper__next {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.85rem 1.9rem;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.gat-page .gat-stepper__next:hover,
.gat-page .gat-stepper__next:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

/* card entrance */
.gat-page .gat-step-in { animation: gat-step-in 0.42s var(--ease-out) both; }
@keyframes gat-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .gat-page .gat-specimen__id i { animation: none; }
  .gat-page .gat-type__name { transition: none; }
  .gat-page .gat-stepper__fill { transition: none; }
  .gat-page .gat-step-in { animation: none; }
}
