/* Human at the Helm pages (/ai-readiness, /alignment-score).
   Extends styles.css. Uses only the site tokens: --petrol, --petrol-deep,
   --petrol-mid, --paper, --paper-warm, --marigold, --display, --body.
   Gold is structure only: rules, progress, numeral blocks, selected states,
   radar fill. It is never used as text on the light surface. */

.hth{
  --line:rgba(12,46,53,.18);
  --line-strong:rgba(12,46,53,.32);
}

/* Secondary text on the light surface: petrol-mid, 9.82:1 on --paper.
   Replaces --slate (4.46:1) everywhere on these two pages. */
.hth .eyebrow{color:var(--petrol-mid)}
.hth .eyebrow.on-dark{color:var(--marigold)}
.hth .note{color:var(--petrol-mid);font-size:.95rem}
.hth h1,.hth h2,.hth h3{color:var(--petrol)}
.hth .hero h1{color:var(--paper)}
.hth p{color:var(--petrol)}
.hth .hero p{color:rgba(244,242,236,.86)}

.hth section{padding:clamp(3rem,6vw,4.75rem) 0}
.hth .narrow{max-width:820px}
.hth .sec-head h2{max-width:22ch}
.hth p + p{margin-top:1.1rem}

/* section rule (gold, structural) */
.hth .rule{width:44px;height:3px;background:var(--marigold);margin:.9rem 0 1.2rem}

/* ---------- pull quote ---------- */
.hth .pullquote{
  font-family:var(--display);
  font-variation-settings:"wdth" 108,"wght" 700;
  font-size:clamp(1.35rem,3vw,2rem);
  line-height:1.18;letter-spacing:-.02em;
  color:var(--petrol);
  border-left:4px solid var(--marigold);
  padding:.4rem 0 .4rem 1.5rem;
  margin:2.4rem 0;max-width:26ch;
}

/* ---------- framework table ---------- */
.hth .dimtable{width:100%;border-collapse:collapse;margin-top:2.25rem}
.hth .dimtable tr{border-bottom:1px solid var(--line)}
.hth .dimtable thead tr{border-bottom:2px solid var(--marigold)}
.hth .dimtable th{
  text-align:left;padding:0 .75rem .7rem 0;
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--petrol-mid);
}
.hth .dimtable th:last-child,.hth .dimtable td:last-child{text-align:right;width:96px;padding-right:0}
.hth .dimtable td{padding:1.35rem .75rem 1.35rem 0;vertical-align:top}
.hth .dimtable td:last-child{
  font-family:var(--display);font-variation-settings:"wdth" 116,"wght" 800;
  font-size:1.75rem;letter-spacing:-.02em;color:var(--petrol);white-space:nowrap;
}
.hth .dim-name{
  display:block;margin-bottom:.35rem;
  font-family:var(--display);font-variation-settings:"wdth" 108,"wght" 700;
  font-size:1.1rem;letter-spacing:-.01em;color:var(--petrol);
}
.hth .dim-desc{display:block;font-size:.95rem;line-height:1.5;color:var(--petrol-mid);max-width:52ch}

/* ---------- threshold ---------- */
.hth .threshold{
  margin-top:3rem;padding-top:2.5rem;border-top:3px solid var(--marigold);
  display:flex;gap:2.5rem;flex-wrap:wrap;align-items:flex-start;
}
.hth .threshold-num{
  font-family:var(--display);font-variation-settings:"wdth" 120,"wght" 800;
  font-size:clamp(5rem,12vw,9rem);line-height:.82;letter-spacing:-.05em;
  color:var(--petrol);
}
.hth .threshold-text{flex:1;min-width:280px}
.hth .threshold-label{
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--petrol-mid);margin-bottom:.7rem;
}
.hth .threshold-head{
  font-family:var(--display);font-variation-settings:"wdth" 106,"wght" 700;
  font-size:1.25rem;line-height:1.25;letter-spacing:-.015em;
  color:var(--petrol);margin-bottom:.7rem;max-width:30ch;
}

/* ---------- hard ceilings ---------- */
.hth .ceilings{margin-top:2.75rem;border-top:1px solid var(--line-strong)}
.hth .ceiling{
  display:grid;grid-template-columns:118px 1fr;gap:2rem;
  padding:1.6rem 0;border-bottom:1px solid var(--line-strong);
}
.hth .cap-flag{
  display:inline-block;background:var(--marigold);color:var(--petrol-deep);
  font-family:var(--display);font-variation-settings:"wdth" 104,"wght" 700;
  font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  padding:.35rem .55rem;white-space:nowrap;
}
.hth .ceiling-trigger{
  font-family:var(--display);font-variation-settings:"wdth" 106,"wght" 700;
  font-size:1.05rem;line-height:1.3;letter-spacing:-.01em;
  color:var(--petrol);margin-bottom:.45rem;
}
.hth .ceiling-explain{font-size:.95rem;line-height:1.55;color:var(--petrol-mid);max-width:62ch}

/* ---------- sample sub-criterion ---------- */
.hth .sample{margin-top:3rem}
.hth .sample-toggle{
  font:inherit;cursor:pointer;background:var(--paper);
  border:1.5px solid var(--petrol);color:var(--petrol);
  font-family:var(--display);font-variation-settings:"wdth" 104,"wght" 600;
  font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;
  padding:.95rem 1.4rem;display:inline-flex;align-items:center;gap:.75rem;
  transition:background .18s,color .18s;
}
.hth .sample-toggle:hover,.hth .sample-toggle:focus-visible{background:var(--paper-warm)}
.hth .sample-toggle .arrow{display:inline-block;transition:transform .25s ease;font-weight:700}
.hth .sample-toggle.open .arrow{transform:rotate(90deg)}
.hth .sample-content{max-height:0;overflow:hidden;transition:max-height .35s ease,margin .25s ease}
.hth .sample-content.open{max-height:1200px;margin-top:2rem}
.hth .sample-inner{border-left:4px solid var(--marigold);padding-left:1.75rem}
.hth .sample-meta{
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--petrol-mid);margin-bottom:.9rem;
}
.hth .sample-question{
  font-family:var(--display);font-variation-settings:"wdth" 106,"wght" 700;
  font-size:1.25rem;line-height:1.3;letter-spacing:-.015em;color:var(--petrol);margin-bottom:.6rem;
}
.hth .anchors{display:grid;gap:1.1rem;margin-top:1.4rem}
.hth .anchor{display:grid;grid-template-columns:56px 1fr;gap:1rem;align-items:baseline}
.hth .anchor-score{
  font-family:var(--display);font-variation-settings:"wdth" 104,"wght" 700;
  font-size:.9rem;color:var(--petrol);
}
.hth .anchor-text{font-size:.95rem;line-height:1.55;color:var(--petrol)}

/* ---------- tagline strip ---------- */
.hth .tagline-strip{background:var(--paper-warm);text-align:center}
.hth .tagline{
  font-family:var(--display);font-variation-settings:"wdth" 108,"wght" 700;
  font-size:clamp(1.4rem,3.2vw,2.25rem);line-height:1.2;letter-spacing:-.02em;
  color:var(--petrol);max-width:32ch;margin:0 auto;
}
.hth .tagline em{font-style:italic;font-family:var(--body);font-weight:600}

/* ---------- text link ---------- */
.hth .tlink{color:var(--petrol);text-decoration:none;border-bottom:2px solid var(--marigold);padding-bottom:1px}
.hth .tlink:hover,.hth .tlink:focus-visible{background:var(--paper-warm)}

/* ---------- cta ---------- */
.hth .cta{border-top:3px solid var(--marigold)}
.hth .cta .btn{margin-right:1.25rem}
.hth .cta-mail{
  font-family:var(--display);font-variation-settings:"wdth" 104,"wght" 600;
  font-size:.95rem;color:var(--petrol);text-decoration:none;
  border-bottom:2px solid var(--marigold);padding-bottom:2px;white-space:nowrap;
}
.hth .cta-mail:hover,.hth .cta-mail:focus-visible{background:var(--paper-warm)}
.hth .cta-row{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-top:.5rem}

@media (max-width:640px){
  .hth .ceiling{grid-template-columns:1fr;gap:.75rem}
  .hth .threshold{gap:1.5rem}
  .hth .dimtable th:last-child,.hth .dimtable td:last-child{width:64px}
  .hth .dimtable td:last-child{font-size:1.35rem}
}

/* ==================================================================
   ASSESSMENT (/alignment-score)
   ================================================================== */
.hth .assess{max-width:780px}

/* progress: six marks. Track petrol at low opacity, completed petrol,
   current gold. Gold used as structure, never as text. */
.hth .marks{display:flex;gap:6px;align-items:flex-end;margin:0 0 2.25rem}
.hth .mk{flex:1;height:3px;background:var(--line);transition:background .3s,height .3s}
.hth .mk.done{background:var(--petrol)}
.hth .mk.here{background:var(--marigold);height:7px}

.hth .dimhead{
  display:flex;align-items:flex-start;gap:1rem;
  border-bottom:1px solid var(--line-strong);padding-bottom:1rem;margin-bottom:2rem;
}
.hth .dimnum{
  background:var(--marigold);color:var(--petrol-deep);
  font-family:var(--display);font-variation-settings:"wdth" 104,"wght" 700;
  font-size:.72rem;letter-spacing:.1em;padding:.4rem .55rem;white-space:nowrap;
}
.hth .dimhead h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin-bottom:.25rem}

.hth .q{margin:0 0 2rem;padding:0 0 1.75rem;border-bottom:1px solid var(--line)}
.hth .q:last-of-type{border-bottom:none;padding-bottom:.5rem}
.hth .qtext{
  font-family:var(--body);font-size:1.0625rem;line-height:1.5;
  color:var(--petrol);margin:0 0 1rem;max-width:58ch;
}

/* Answer buttons: four across on desktop, 2 x 2 on mobile, never 3 + 1.
   Identical width, height and weight. Default reads as clickable:
   full-opacity petrol border, petrol label, light fill. */
.hth .scale{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hth .opt{
  font:inherit;cursor:pointer;
  display:flex;align-items:center;justify-content:center;text-align:center;
  width:100%;min-height:3.4rem;padding:.8rem .4rem;
  background:var(--paper);
  border:1.5px solid var(--petrol);
  color:var(--petrol);
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;line-height:1.25;
  transition:background .15s,box-shadow .15s;
}
.hth .opt:hover{background:var(--paper-warm);box-shadow:inset 0 0 0 1.5px var(--petrol)}
.hth .opt[aria-pressed="true"]{background:var(--marigold);border-color:var(--marigold);color:var(--petrol-deep)}
.hth .opt[aria-pressed="true"]:hover{background:var(--marigold);box-shadow:inset 0 0 0 1.5px var(--petrol-deep)}
@media (max-width:640px){
  .hth .scale{grid-template-columns:repeat(2,1fr)}
}

.hth .navrow{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:2.5rem}
.hth .btn{margin-top:0}
.hth .btn[disabled]{opacity:.45;cursor:not-allowed}
.hth .btn.ghost{
  background:transparent;color:var(--petrol);border:1.5px solid var(--petrol);
  padding:calc(.85rem - 1.5px) calc(1.5rem - 1.5px);
}
.hth .btn.ghost:hover,.hth .btn.ghost:focus-visible{background:var(--paper-warm)}

/* ---------- results ---------- */
.hth .panel{
  border:1px solid var(--line-strong);border-top:6px solid var(--marigold);
  background:var(--paper);padding:2.25rem 2rem;margin-bottom:2.75rem;
}
.hth .verdict{
  font-family:var(--display);font-variation-settings:"wdth" 120,"wght" 800;
  font-size:clamp(3.5rem,12vw,7rem);line-height:.85;letter-spacing:-.04em;
  color:var(--petrol);margin:.5rem 0 0;
}
.hth .verdict span{font-size:.26em;letter-spacing:.02em;color:var(--petrol-mid)}
.hth .band{
  font-family:var(--display);font-variation-settings:"wdth" 108,"wght" 700;
  font-size:1.35rem;letter-spacing:-.015em;color:var(--petrol);margin:1.1rem 0 .4rem;
}
.hth .rose{display:block;margin:1.5rem auto 0;max-width:420px;width:100%;height:auto}
.hth .rose .grid,.hth .rose .axis{fill:none;stroke:rgba(12,46,53,.28);stroke-width:1}
.hth .rose .shape{fill:rgba(232,178,58,.34);stroke:var(--marigold);stroke-width:2}
.hth .rose .dot{fill:var(--marigold);stroke:var(--petrol);stroke-width:1}
.hth .rose .lbl{
  font-family:var(--display);font-size:10px;font-weight:600;letter-spacing:.12em;
  fill:#14424B;text-transform:uppercase;
}

.hth .weakest{
  border-left:4px solid var(--marigold);padding-left:1rem;
  font-size:1.0625rem;color:var(--petrol);margin:0 0 1.75rem;max-width:56ch;
}
.hth .row{
  display:grid;grid-template-columns:1fr 64px;gap:.75rem 1rem;align-items:baseline;
  padding:1.5rem 0;border-bottom:1px solid var(--line);
}
.hth .row:last-child{border-bottom:none}
.hth .rowname{
  font-family:var(--display);font-variation-settings:"wdth" 106,"wght" 700;
  font-size:1.05rem;letter-spacing:-.01em;color:var(--petrol);
}
.hth .rowsay{font-size:.975rem;line-height:1.55;color:var(--petrol);margin-top:.35rem;max-width:56ch}
.hth .rowcap,.hth .rowfix{
  margin-top:.9rem;font-size:.95rem;line-height:1.55;color:var(--petrol);
  max-width:56ch;padding-left:.85rem;
}
.hth .rowcap{border-left:3px solid var(--petrol)}
.hth .rowfix{border-left:3px solid var(--marigold)}
.hth .rowcap b,.hth .rowfix b{
  display:block;margin-bottom:.2rem;
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--petrol-mid);
}
.hth .rowsc{
  font-family:var(--display);font-variation-settings:"wdth" 112,"wght" 800;
  font-size:1.5rem;letter-spacing:-.02em;text-align:right;white-space:nowrap;color:var(--petrol);
}
.hth .rowsc em{font-style:normal;font-size:.62em;font-variation-settings:"wdth" 100,"wght" 600;color:var(--petrol-mid)}
.hth .bar{grid-column:1/-1;height:5px;background:var(--paper-warm);margin-top:.4rem}
.hth .bar i{display:block;height:100%;background:var(--marigold)}

/* ---------- gate ---------- */
.hth .gate{border:1px solid var(--line-strong);padding:2rem 1.75rem;margin-top:2.5rem}
.hth .gate label{
  display:block;margin:0 0 .35rem;
  font-family:var(--display);font-variation-settings:"wdth" 100,"wght" 600;
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--petrol-mid);
}
.hth .gate input{
  font:inherit;font-family:var(--body);width:100%;max-width:26rem;
  padding:.7rem .75rem;margin:0 0 1.1rem;border:1.5px solid var(--line-strong);
  background:#FFFDF8;color:var(--petrol);border-radius:0;
}
.hth .gate input:focus{border-color:var(--petrol);outline:none}
.hth .sent{margin-top:1.1rem;font-size:.95rem;color:var(--petrol-mid)}
.hth .backlink-row{margin-top:2.75rem;padding-top:1.5rem;border-top:1px solid var(--line)}

.hth .hide{display:none}
.printhead{display:none}
