/* GTM assessment landing page (gtm-assessment.html) only. Tokens live in tokens.css, shared components in site.css. */

/* ---------- hero ---------- */
.assess-hero { padding-block: var(--space-56) var(--space-72); }
.assess-hero .split { align-items: center; gap: var(--space-56); }
.assess-hero h1 { max-width: 17ch; }
.assess-hero h1 .nw { white-space: nowrap; }
.assess-hero h1 sup { font-size: 0.4em; font-weight: 400; vertical-align: super; line-height: 0; margin-left: 2px; }
.assess-hero .lede { max-width: 50ch; }

/* GTM Partners' GTM Operating System wheel, their design and lettering, recolored to shades of plum. */
.os-figure { margin: 0; justify-self: end; width: 100%; max-width: 500px; }
.os-figure img { display: block; width: 100%; height: auto; }

/* The partner lockup at hero size: our live wordmark × GTM Partners in its own colors, no rule under it. */
.collab--partner { gap: 18px; margin-bottom: var(--space-40); padding-bottom: 0; border-bottom: 0; flex-wrap: nowrap; }
.collab--partner .wordmark { font-size: 40px; }
.collab--partner .collab-x { font-size: 24px; }
.collab--partner .collab-client img { height: 50px; }

/* ---------- the 15 problems, on the ink band ---------- */
.assess-problems { padding-block: var(--space-96); }
.assess-problems .section-head { max-width: 52ch; margin-bottom: var(--space-56); }
.problem-list { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-40) var(--space-32); }
.problem-list li { counter-increment: p; padding-top: var(--space-24); border-top: 1px solid var(--line-inverse); }
.problem-list p { font: 600 var(--fs-body-l)/var(--lh-tight) var(--font-display); letter-spacing: var(--ls-title); color: var(--text-inverse); text-wrap: balance; }
.problem-list p::before { content: counter(p, decimal-leading-zero); display: block; margin-bottom: var(--space-8); font: 700 var(--fs-caption)/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--plum-300); }
/* One icon per problem: oat hairlines on a 48 grid with a single rose shape, the same rule the trees follow. */
.problem-icon { display: block; width: 64px; height: 64px; margin-bottom: var(--space-20); fill: none; stroke: var(--oat-100); stroke-width: 1.5; stroke-linejoin: miter; stroke-linecap: square; }
.problem-icon .a { fill: var(--plum-300); stroke: var(--plum-300); }
.problem-icon .k { fill: var(--surface-inverse); }
.problem-icon .s { stroke: var(--plum-300); }
.problem-icon .d { stroke: var(--surface-inverse); }
.assess-problems .btn-row { margin-top: var(--space-56); }
/* site.css tints every link on an ink band rose; the button keeps its ink label */
.assess-problems a.btn-inverse, .assess-problems a.btn-inverse:hover { color: var(--ink-800); }

/* ---------- credential line, under the hero buttons ---------- */
/* The badge in its own colors, one sentence beside it. */
.assess-cred { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-16); align-items: center; margin-top: var(--space-32); max-width: 52ch; }
.assess-cred img { width: 56px; height: 56px; }
.assess-cred p { font-size: var(--fs-body-s); font-weight: 500; color: var(--text-muted); line-height: 1.45; }

/* ---------- GTM OS: eight questions around the wheel (GTM Partners licensed content, Breakaway styling) ---------- */
.gtm8-head { max-width: 62ch; margin: 0 auto var(--space-56); text-align: center; }
.gtm8-head h2 { font-size: var(--fs-display-m); line-height: var(--lh-display-s); letter-spacing: var(--ls-display); }
.gtm8-head .lede { margin-top: var(--space-20); }
.gtm8-section sup { font-size: 45%; font-weight: 400; vertical-align: super; line-height: 0; }
.gtm8-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: var(--space-40); align-items: center; position: relative; }
/* leader lines from each question to its segment, drawn by the page script on wide screens */
.gtm8-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.gtm8-lines path { fill: none; stroke: var(--ink-400); stroke-width: 1; }
.gtm8-lines circle { fill: var(--oat-50); stroke: var(--ink-800); stroke-width: 1.5; }
.gtm8-copy { display: block; }
/* wired layout (wide screens, set by the page script): questions placed level with their segments, no dividers */
.gtm8-grid.is-wired .gtm8-column { position: relative; display: block; }
.gtm8-grid.is-wired .gtm8-item { position: absolute; left: 0; right: 0; padding: 0; border: 0; }
.gtm8-pillar { display: none; font: 600 var(--fs-caption)/1.3 var(--font-body); color: var(--plum-600); margin-bottom: 4px; }
.gtm8-column { list-style: none; display: grid; }
.gtm8-item { display: flex; align-items: flex-start; gap: var(--space-12); padding-block: var(--space-20); border-bottom: 1px solid var(--line-hairline); }
.gtm8-item:last-child { border-bottom: 0; }
.gtm8-item--left { flex-direction: row-reverse; text-align: right; }
.gtm8-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 4px; position: relative; z-index: 2; }
.gtm8-text { font: 600 var(--fs-body-l)/var(--lh-tight) var(--font-display); letter-spacing: var(--ls-title); color: var(--text-strong); text-wrap: balance; }
.gtm8-center img { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
  .gtm8-grid { grid-template-columns: 1fr; gap: 0; }
  .gtm8-center { order: -1; max-width: 420px; margin: 0 auto var(--space-32); }
  .gtm8-item--left { flex-direction: row; text-align: left; }
  /* stacked: read clockwise from Total Relevant Market (right column top to bottom, then left column bottom to top) */
  .gtm8-column--right { order: 1; }
  .gtm8-column--left { order: 2; display: flex; flex-direction: column-reverse; }
  .gtm8-column--right .gtm8-item:last-child { border-bottom: 1px solid var(--line-hairline); }
  .gtm8-column--left .gtm8-item:last-child { border-bottom: 1px solid var(--line-hairline); }
  .gtm8-column--left .gtm8-item:first-child { border-bottom: 0; }
  .gtm8-pillar { display: block; }
  .gtm8-lines { display: none; }
}
@media (max-width: 760px) {
  .gtm8-head { text-align: left; margin-bottom: var(--space-40); }
  .gtm8-head h2 { font-size: var(--fs-display-s); }
  .gtm8-text { font-size: var(--fs-body); }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .assess-hero { padding-bottom: var(--space-72); }
  .os-figure { justify-self: start; max-width: 460px; }
  .assess-problems { padding-block: var(--space-72); }
  .problem-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-32); }
}
@media (max-width: 760px) {
  .assess-hero { padding-block: var(--space-40) var(--space-56); }
  /* phones: the wheel already appears in the GTM OS section below, so the hero drops it */
  .os-figure { display: none; }
  .collab--partner { gap: 12px; margin-bottom: var(--space-32); }
  .collab--partner .wordmark { font-size: 28px; }
  .collab--partner .collab-x { font-size: 18px; }
  .collab--partner .collab-client img { height: 35px; }
  .assess-problems { padding-block: var(--space-56); }
  .assess-problems .section-head { margin-bottom: var(--space-40); }
  /* phones: icon beside the line, so fifteen items stay a quick scan */
  .problem-list { grid-template-columns: 1fr; gap: 0; }
  .problem-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-16); align-items: start; padding-block: var(--space-20); }
  .problem-list li:last-child { border-bottom: 1px solid var(--line-inverse); }
  .problem-list p { font-size: var(--fs-body); text-wrap: pretty; }
  .problem-icon { width: 44px; height: 44px; margin: 0; }
  .assess-problems .btn-row { margin-top: var(--space-40); }
}

/* ---------- testimonials (GTM Partners licensed content, Breakaway styling): a sideways-scrolling row of cards ---------- */
.section.assess-voices { padding-block: 0 var(--space-56); }
.voices-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-24); margin-bottom: var(--space-16); }
.voices-head { font-size: var(--fs-title); line-height: 1.25; letter-spacing: var(--ls-title); margin: 0; }
.voices-nav { display: flex; gap: var(--space-8); }
.voices-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-default); background: var(--surface-raised); color: var(--text-strong); cursor: pointer; transition: background var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.voices-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.voices-btn:hover:not(:disabled) { background: var(--oat-50); border-color: var(--line-strong); }
.voices-btn:disabled { opacity: .35; cursor: default; }
/* the row stops where the page content stops; 12px of slack each side only so card shadows aren't clipped */
.voices-track { display: flex; gap: var(--space-24); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; margin-inline: -12px; padding: var(--space-8) 12px var(--space-32); scrollbar-width: none; overscroll-behavior-x: contain; }
.voices-track::-webkit-scrollbar { display: none; }
.voices-track:focus-visible { outline: 2px solid var(--plum-500); outline-offset: 2px; }
.voice { flex: 0 0 340px; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: var(--space-16); padding: var(--space-20) var(--space-24); background: var(--surface-raised); border: 1px solid var(--line-hairline); border-radius: var(--radius-14); box-shadow: var(--shadow-md); }
.voice-mark { display: block; height: 22px; font: 400 56px/1 var(--font-editorial); color: var(--plum-500); }
.voice blockquote { margin: 0; }
.voice blockquote p { font-size: var(--fs-body-s); line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--space-12); }
.voice-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plum-600); color: var(--oat-50); font: 600 11px/1 var(--font-display); letter-spacing: .04em; }
.voice-who { display: grid; gap: 1px; font-size: var(--fs-caption); line-height: 1.35; color: var(--text-muted); }
.voice-who strong { font-size: var(--fs-body-s); font-weight: 600; color: var(--text-strong); }
@media (max-width: 760px) {
  .section.assess-voices { padding-block: 0 var(--space-40); }
  .voices-head { font-size: var(--fs-body-l); }
  .voices-nav { display: none; } /* phones swipe */
  .voices-track { gap: var(--space-16); }
  .voice { flex-basis: 80vw; padding: var(--space-20); }
}
