/* Hallmark · shape: tool-first · genre: editorial · theme: custom (Ben's brand system, locked) · job: try · idea: "the assessment is the hero, answerable on the first screen" · vibe: "institutional, calm, exact, quietly confident"
 * paper: #FFFFFF (brand) · accent: #256868 teal (brand) · display: Archivo · body: Open Sans · hero: Ben's pitch beside the live assessment card · nav: the site bar shared with the homepage · footer: granite, four columns shared with the homepage · imagery: none, the tool is the picture · signature: the live M Score card, question one ready to answer, ending on a ring that fills to your score · surface: absolute
 * axes: light/grotesk-heavy/cool · posture: restrained · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: R, the lower sections are lists by nature; each takes a different form (ruled index, fieldstone band, statement) */
/* Hallmark · dismissed 40 · teal and ink on #FFFFFF paper pass at 6.9:1 and 16:1; the check read the paper against itself */
/* Hallmark · answered F19 · four weights (300 ring number, 400 statements, 600 and 700 heads), Ben's stat and display styles */
/* Hallmark · answered F15 · the 64px column gap holds across the page; the card's 24px inner gaps are its own nesting level */

/* ---------- 1. Hero: the pitch and the tool ---------- */
.ms-hero { background: var(--fieldstone); }
.ms-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-6); align-items: center; padding-block: var(--space-7); }
@media (min-width: 1101px) { .ms-in { min-height: calc(100svh - var(--head-h)); } }
.ms-copy { display: grid; gap: var(--space-4); justify-items: start; }
.ms-copy h1 { font-size: clamp(48px, 6.4vw, 104px); line-height: .94; letter-spacing: -.045em; max-width: 7em; }
.ms-copy .lede { max-width: 26em; }
.ms-copy .lede.strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; letter-spacing: -.015em; color: var(--heading); margin-top: var(--space-2); }
.facts3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-5); margin-block: var(--space-2) var(--space-2); }
.facts3 li { padding-top: var(--space-2); border-top: 2px solid var(--taurus-teal); font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--heading); }
.start { display: grid; gap: var(--space-25); justify-items: start; }

/* The card */
.tool { position: relative; background: var(--paper); box-shadow: var(--paper-shadow); padding: var(--space-5); min-height: 560px; display: grid; scroll-margin-top: var(--space-5); }
.tool:focus { outline: none; }
.q-view { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-4); }
.q-view[hidden], .r-view[hidden] { display: none; }
.q-top { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.q-area { font-family: var(--font-display); font-weight: 600; color: var(--taurus-teal); }
.q-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-bar { height: 2px; background: var(--rule); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: var(--taurus-teal); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.q-body { display: grid; align-content: start; gap: var(--space-4); transition: opacity .22s ease, transform .22s ease; }
.js .q-body.out { opacity: 0; transform: translateY(8px); }
.q-text { display: flex; align-items: flex-end; font-size: clamp(22px, 1.9vw, 29px); line-height: 1.2; letter-spacing: -.022em; min-height: 2.4em; }
.q-opts { align-content: start; }
.q-text:focus { outline: none; }
.q-opts { display: grid; gap: var(--space-2); }
.opt { display: grid; grid-template-columns: var(--space-35) minmax(0, 1fr); align-items: center; gap: var(--space-25); width: 100%; text-align: left; padding: var(--space-25) var(--space-3); border: 1px solid var(--rule); border-radius: var(--radius-1); background: var(--paper); font: inherit; font-size: 16px; line-height: 1.4; color: var(--text); cursor: pointer; transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .15s ease; }
.opt .dot { width: var(--space-35); height: var(--space-35); border-radius: var(--radius-round); border: 1px solid var(--slate); position: relative; }
.opt .dot::after { content: ""; position: absolute; inset: 4px; border-radius: var(--radius-round); background: var(--white); transform: scale(0); transition: transform .25s var(--ease); }
.opt:hover { border-color: var(--taurus-teal); }
.opt:active { transform: scale(.99); }
.opt[aria-pressed="true"] { border-color: var(--taurus-teal); background: var(--taurus-teal); color: var(--white); }
.opt[aria-pressed="true"] .dot { border-color: var(--white); }
.opt[aria-pressed="true"] .dot::after { transform: scale(1); }
.opt:disabled { opacity: .5; cursor: not-allowed; }
.q-foot { display: flex; justify-content: space-between; align-items: center; min-height: var(--space-55); }
.q-back { font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--link); background: none; border: 0; padding: var(--space-2) 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.q-back:hover { color: var(--heading); }
.q-back:active { opacity: .7; }
.q-back[hidden] { display: none; }
.nojs { font-size: 17px; }

/* The result */
.r-view { display: grid; align-content: start; gap: var(--space-5); }
.r-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: center; }
.ring { position: relative; width: 168px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .trk { stroke: var(--fieldstone); }
.ring .arc { stroke: var(--taurus-teal); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.r-num { position: relative; font-family: var(--font-display); font-weight: 300; font-size: 64px; line-height: 1; letter-spacing: -.04em; color: var(--heading); font-variant-numeric: tabular-nums; }
.r-of { position: relative; font-size: 13px; color: var(--text-muted); }
.r-say { display: grid; gap: var(--space-2); }
.r-band { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.r-band:focus { outline: none; }
.r-sum { font-size: 16px; line-height: 1.5; }
.bands { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); }
.bands li { padding-top: var(--space-2); border-top: 4px solid var(--rule); font-size: 13px; line-height: 1.35; color: var(--text-muted); display: grid; }
.bands li b { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.bands li.on { border-top-color: var(--taurus-teal); }
.bands li.on b { color: var(--taurus-teal); }
.lead { display: grid; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.lead-h { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--heading); }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-25) var(--space-3); }
.lead label { display: grid; gap: var(--space-1); font-size: 14px; line-height: 1.3; color: var(--text-muted); }
.lead label.full { grid-column: 1 / -1; }
.lead input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 0 var(--space-25); border: 1px solid var(--rule); border-radius: var(--radius-1); background: var(--paper); font: inherit; font-size: 16px; color: var(--text); transition: border-color .25s var(--ease); }
.lead input:hover { border-color: var(--slate); }
.lead input:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.lead input[aria-invalid] { border-color: var(--mark); }
.lead input:disabled { opacity: .5; cursor: not-allowed; }
.lead .check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-2); color: var(--text); font-size: 14px; }
.lead .check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--taurus-teal); }
.lead-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.lead-help { min-height: 1.5em; }
.review { justify-self: start; white-space: normal; }

/* ---------- 2. What It Measures ---------- */
.measures { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); padding-block: var(--space-8); align-items: start; }
.mm-copy { display: grid; gap: var(--space-4); position: sticky; top: var(--space-6); }
.six { list-style: none; padding: 0; counter-reset: six; border-bottom: 1px solid var(--rule); }
.six li { counter-increment: six; display: grid; grid-template-columns: var(--space-6) minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-3); padding-block: var(--space-4); border-top: 1px solid var(--rule); }
.six li::before { content: counter(six); font-family: var(--font-display); font-weight: 300; font-size: 15px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.six .t { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.03em; color: var(--heading); }
.six .c { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.js.motion .six li:nth-child(even) { transition-delay: .08s; }

/* ---------- 3. What You Get: on granite ---------- */
.get { background: var(--granite); color: var(--on-deep); padding-block: var(--space-7); }
.get h2 { color: var(--white); }
.gets { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); counter-reset: gt; }
.gets li { counter-increment: gt; padding-top: var(--space-3); border-top: 2px solid var(--glacier); }
.gets li::before { content: counter(gt); display: block; font-family: var(--font-display); font-weight: 300; font-size: 15px; color: var(--on-deep-muted); margin-bottom: var(--space-5); font-variant-numeric: tabular-nums; }
.gets b { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.32; letter-spacing: -.015em; color: var(--white); }
.js.motion .gets li:nth-child(2) { transition-delay: .1s; }
.js.motion .gets li:nth-child(3) { transition-delay: .2s; }
.js.motion .gets li:nth-child(4) { transition-delay: .3s; }

/* ---------- 4. Why We Built It ---------- */
.why { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-6); padding-block: var(--space-8); }
.why h2 { padding-top: var(--space-3); border-top: 2px solid var(--taurus-teal); align-self: start; }
.why-body { display: grid; gap: var(--space-5); }
.statement.big { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.12; letter-spacing: -.03em; color: var(--heading); text-wrap: balance; max-width: 19em; }
.why .lede { max-width: 30em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ms-in { grid-template-columns: minmax(0, 1fr); }
  .ms-copy h1 { max-width: none; }
  .tool { min-height: 0; }
  .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .measures, .why { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding-block: var(--space-7); }
  .mm-copy { position: static; }
  .why h2 { justify-self: start; padding-right: var(--space-5); }
}
@media (max-width: 560px) {
  .ms-in { padding-block: var(--space-6); }
  .facts3 { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .tool { padding: var(--space-4) var(--space-3); margin-inline: calc(-1 * var(--space-2)); }
  .r-top { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .ring { width: 140px; }
  .bands { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-3); }
  .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .gets { grid-template-columns: minmax(0, 1fr); }
  .six li { grid-template-columns: var(--space-5) minmax(0, 1fr); }
  .six .c { grid-column: 2; }
}
