/*
 * v1.5 Mobile M3B — enterprise-growth Case deep read.
 *
 * Phone-only recomposition for the existing PTE semantic DOM, My Role,
 * Validation, and their full-Case transitions. M3A, Tablet, Desktop, and the
 * Homepage remain outside this stylesheet.
 */

@media (max-width: 620px) {
  /* PTE opening: an intentional continuation, not a second title slide. */
  .w21-framework {
    padding-top: 1rem;
  }

  .w21-framework-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: start;
  }

  .w21-framework-header .preview-label,
  .w21-zone-index,
  .w21-mini-label {
    min-height: 0;
    font-size: .72rem;
    letter-spacing: .14em;
    line-height: 1.4;
  }

  .w21-framework-header h2 {
    max-width: 11ch;
    margin-top: 1rem;
    font-size: 2rem;
    line-height: .94;
  }

  .w21-framework-subtitle {
    max-width: 36rem;
    color: #5c5f59;
    font-size: 1rem;
    line-height: 1.58;
  }

  /* The three public PTE zones become one major vertical reading flow. */
  .w21-topology {
    display: block;
    margin-top: 2.6rem;
    border-block: 1px solid var(--growth-rule);
    border-bottom: 0;
  }

  .w21-zone,
  .w21-zone:first-child,
  .w21-zone:last-child {
    padding: 1.35rem 0 2.8rem;
    border-top: 1px solid var(--growth-rule);
    border-left: 0;
  }

  .w21-zone:first-child {
    border-top: 0;
  }

  .w21-zone:not(:first-child)::before {
    position: absolute;
    z-index: 2;
    display: block;
    top: -.42rem;
    right: auto;
    bottom: auto;
    left: .35rem;
    width: auto;
    height: auto;
    padding-inline: .28rem;
    border: 0;
    border-radius: 0;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
    line-height: 1;
    pointer-events: none;
  }

  .w21-zone-index {
    color: var(--growth-ink);
  }

  .w21-zone h3 {
    max-width: 24ch;
    margin-top: 1.15rem;
    font-size: 1.7rem;
    line-height: 1.02;
  }

  /* 01 / PTE Strategic Context — keep the approved nested model compact. */
  .w22-pte-visual {
    min-height: 13.25rem;
    max-width: 18rem;
    margin-top: 1.7rem;
    padding-bottom: 2.9rem;
  }

  .w22-pte-enterprise {
    width: 9.5rem;
    height: 9.5rem;
  }

  .w22-pte-team {
    width: 6.65rem;
    height: 6.65rem;
  }

  .w22-pte-person {
    width: 3.75rem;
    height: 3.75rem;
  }

  .w22-pte-level > span {
    font-size: 1.1rem;
  }

  .w22-pte-visual > p {
    gap: .3rem;
    padding-top: .65rem;
    text-align: left;
  }

  .w22-pte-visual > p span,
  .w21-rule-note span,
  .w21-before-next span,
  .w21-proxy-note span,
  .w22-filter-visual > p span,
  .w22-capture-input span,
  .w23-loop-function,
  .w22-loop-return strong,
  .goal24-role-label,
  .goal25-validation-label {
    font-size: .72rem;
    line-height: 1.4;
  }

  .w22-pte-visual > p strong {
    font-size: .95rem;
    line-height: 1.3;
  }

  .w21-rule-note {
    gap: .5rem;
    margin-top: 1.6rem;
    padding-top: .85rem;
  }

  .w21-rule-note strong {
    max-width: 31ch;
    font-size: 1rem;
    line-height: 1.35;
  }

  .w21-tension {
    margin-top: 1.8rem;
    padding-top: .85rem;
  }

  .w21-tension > p:last-child {
    margin-top: .65rem;
    font-size: .96rem;
    line-height: 1.4;
  }

  .w21-tension > p:last-child span,
  .w21-paired-terms b {
    font-size: .72rem;
  }

  .w21-paired-terms {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .65rem;
    margin-top: 1.6rem;
    padding-top: .9rem;
  }

  .w21-paired-terms span {
    font-size: .8rem;
    line-height: 1.3;
  }

  /* 02 / Industry-specific analysis — judgment shift, evidence, then funnel. */
  .w21-before-next {
    gap: 0;
    margin-top: 1.8rem;
  }

  .w21-before-next > div {
    position: relative;
    gap: .35rem;
    padding: .8rem 0 .9rem;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w21-before-next > div:first-child::after {
    position: absolute;
    z-index: 2;
    bottom: -.55rem;
    left: 0;
    padding-right: .35rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
  }

  .w21-before-next strong {
    max-width: 30ch;
    font-size: 1rem;
    line-height: 1.3;
  }

  .w22-filter-visual {
    margin-top: 1.35rem;
    padding-block: 1rem 1.1rem;
  }

  .w22-proxy-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .3rem;
  }

  .w22-proxy-inputs span {
    display: grid;
    min-height: 2.65rem;
    padding: .45rem .2rem;
    place-items: center;
    font-size: .72rem;
    letter-spacing: .02em;
    line-height: 1.22;
  }

  .w22-filter-stack {
    gap: .25rem;
    margin-top: .7rem;
  }

  .w22-filter-stack span {
    min-height: 2.2rem;
    font-size: .72rem;
    letter-spacing: .04em;
  }

  .w22-filter-visual > p {
    gap: .25rem;
    margin-top: .7rem;
  }

  .w22-filter-visual > p strong {
    font-size: .92rem;
    line-height: 1.3;
  }

  .w21-zone-statement {
    max-width: 35rem;
    margin-top: 1.6rem;
    font-size: .96rem;
    line-height: 1.55;
  }

  .w21-funnel {
    margin-top: 1.8rem;
  }

  .w21-funnel > .w21-mini-label {
    padding-top: .85rem;
  }

  .w21-funnel ol {
    margin-top: .7rem;
  }

  .w21-funnel li {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: .65rem;
    padding: .85rem 0 .95rem;
  }

  .w21-funnel li span {
    font-size: .8rem;
  }

  .w21-funnel li strong {
    max-width: 30ch;
    font-size: .96rem;
    line-height: 1.35;
  }

  .w21-proxy-note {
    margin-top: 1.25rem;
    padding-top: .9rem;
    font-size: .84rem;
    line-height: 1.5;
  }

  /* 03 / Three-layer system — major A ↓ B ↓ C topology. */
  .w21-zone-layers,
  .w21-zone-layers:first-child,
  .w21-zone-layers:last-child {
    padding-inline: 0;
  }

  .w21-zone-layers {
    padding-bottom: 1.8rem;
  }

  .w22-abc-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.45rem;
    padding: .25rem 0;
  }

  .w22-abc-flow li {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: .7rem;
    min-height: 3.25rem;
    padding: .65rem 2rem .65rem 0;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w22-abc-flow li:first-child {
    border-top: 0;
  }

  .w22-abc-flow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -.48rem;
    left: .35rem;
    transform: none;
    padding-inline: .2rem;
    background: var(--growth-paper);
    content: "↓";
    font-size: .8rem;
  }

  .w22-abc-flow span {
    width: 1.55rem;
    height: 1.55rem;
    font-size: .75rem;
  }

  .w22-abc-flow strong {
    font-size: .82rem;
    letter-spacing: .055em;
    line-height: 1.3;
  }

  .w21-layer-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2rem;
    border-block: 1px solid var(--growth-rule);
    border-bottom: 0;
  }

  .w21-layer,
  .w21-layer:first-child,
  .w21-layer:last-child {
    position: relative;
    padding: 1.35rem 0 2.8rem;
    border-top: 1px solid var(--growth-rule);
    border-left: 0;
  }

  .w21-layer:first-child {
    border-top: 0;
  }

  .w21-layer:last-child {
    padding-bottom: 1.8rem;
  }

  .w21-layer:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    bottom: -.72rem;
    left: .38rem;
    padding-inline: .3rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .8rem;
  }

  .w21-layer-heading {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .75rem;
  }

  .w21-layer-heading > span {
    width: 1.9rem;
    height: 1.9rem;
    font-size: .82rem;
  }

  .w21-layer-heading h4 {
    max-width: 25ch;
    margin-top: .5rem;
    font-size: 1.25rem;
    line-height: 1.08;
  }

  .w21-layer-group {
    margin-top: 1.4rem;
    padding-top: .85rem;
  }

  .w21-layer-group > p:last-child {
    max-width: 35rem;
    margin-top: .55rem;
    font-size: .92rem;
    line-height: 1.52;
  }

  .w21-question {
    max-width: 35rem;
    margin-top: 1.6rem;
    padding: .95rem 0 0;
    border-top: 1px solid var(--growth-rule);
    color: var(--growth-ink);
    font-size: .96rem;
    font-weight: 560;
    line-height: 1.4;
  }

  /* Journey and value formation remain one visible, canonical sequence. */
  .w22-journey-rail {
    margin-top: .8rem;
    margin-left: .4rem;
    padding-left: .75rem;
  }

  .w22-journey-rail li {
    min-height: 2.35rem;
    padding: .35rem .25rem .35rem .45rem;
    font-size: .88rem;
    line-height: 1.25;
  }

  .w22-journey-rail li::before {
    left: -1rem;
    width: .45rem;
    height: .45rem;
  }

  .w22-journey-rail li:not(:last-child)::after {
    bottom: -.35rem;
    left: -1.02rem;
    font-size: .72rem;
  }

  /* Conversion mechanisms stack at every phone width for a true deep read. */
  .w21-mechanisms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.5rem;
    padding-top: .85rem;
  }

  .w21-mechanisms > .w21-mini-label {
    grid-column: auto;
    margin-bottom: .6rem;
  }

  .w21-mechanisms > div {
    padding: .9rem 0 1rem;
    border: 0;
    border-top: 1px solid var(--growth-rule-soft);
    background: transparent;
  }

  .w21-mechanisms strong {
    max-width: 30ch;
    font-size: .82rem;
    line-height: 1.35;
  }

  .w21-mechanisms span {
    margin-top: .45rem;
    font-size: .88rem;
    line-height: 1.4;
  }

  .w21-mechanisms p:last-child {
    max-width: 35rem;
    margin-top: .5rem;
    font-size: .88rem;
    line-height: 1.5;
  }

  /* C / Value Capture becomes a clear top-to-bottom commercial architecture. */
  .w22-capture-architecture {
    margin-top: 1.5rem;
    padding-left: 0;
    border-left: 0;
  }

  .w22-capture-input {
    gap: .4rem;
    padding: .85rem .9rem .95rem;
  }

  .w22-capture-input strong {
    font-size: .96rem;
    line-height: 1.35;
  }

  .w22-capture-architecture .w21-layer-group {
    margin-top: 0;
    padding: .9rem 0 1rem;
    border: 0;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .w22-capture-architecture .w21-layer-group::before {
    display: none;
  }

  .w22-capture-architecture .w21-layer-group:not(:last-child)::after {
    display: block;
    margin-top: .8rem;
    color: var(--growth-stone);
    content: "↓";
    font-size: .78rem;
  }

  /* One forward operating-learning sequence and one explicit return cue. */
  .w21-feedback-loop {
    margin-top: 2.5rem;
    padding: 1.15rem 0 1.35rem;
  }

  .w23-loop-heading {
    display: grid;
    gap: .35rem;
    align-items: start;
    justify-content: start;
  }

  .w23-loop-function {
    letter-spacing: .12em;
  }

  .w21-feedback-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 1.1rem;
  }

  .w21-feedback-steps span {
    position: relative;
    max-width: none;
    padding: .75rem 1.8rem .8rem 0;
    border-top: 1px solid var(--growth-rule-soft);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .w21-feedback-steps span:not(:last-of-type)::after {
    position: absolute;
    right: .25rem;
    bottom: -.48rem;
    padding-inline: .25rem;
    background: var(--growth-paper);
    color: var(--growth-stone);
    content: "↓";
    font-size: .78rem;
  }

  .w21-feedback-steps span:nth-of-type(3) {
    max-width: none;
  }

  .w21-feedback-steps b {
    display: none;
  }

  .w22-loop-return {
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: .65rem;
    margin: 1rem 0 0;
    padding: .9rem 0 0;
    border-top: 1px solid var(--growth-ink);
  }

  .w22-loop-return > b {
    align-self: start;
    font-size: 1rem;
  }

  .w22-loop-return > span {
    display: none;
  }

  .w22-loop-return p {
    gap: .3rem;
  }

  .w22-loop-return small {
    font-size: .76rem;
    letter-spacing: .09em;
    line-height: 1.4;
  }

  .w21-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .w21-summary > p:last-child {
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.56;
  }

  /* Ownership and evidence boundary close the Case in two editorial flows. */
  .preview-detail .preview-validation.goal24-detail-role,
  .preview-detail .preview-validation.goal24-detail-validation {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 4rem;
    padding-top: 1rem;
  }

  .goal24-detail-role > .preview-label,
  .goal24-detail-validation > .preview-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
  }

  .goal24-role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .goal24-role-grid > div {
    padding: .9rem 0 1.05rem;
    border-top: 1px solid var(--growth-rule-soft);
  }

  .preview-detail .goal24-detail-role .goal24-role-grid p:last-child {
    max-width: 36rem;
    margin-top: .55rem;
    color: #4f524c;
    font-size: .96rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.52;
  }

  .goal24-detail-validation > div {
    max-width: 36rem;
  }

  .goal24-detail-validation .goal24-detail-headline {
    max-width: 24ch;
    font-size: 1.7rem;
    line-height: 1.04;
  }

  .goal25-validation-points {
    gap: 0;
    margin-top: 1.5rem;
  }

  .goal25-validation-points > div {
    padding: .9rem 0 1.05rem;
  }

  .preview-detail .goal25-validation-points p:last-child {
    max-width: 36rem;
    margin-top: .45rem;
    color: #4f524c;
    font-size: .96rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.52;
  }

  .preview-detail .preview-validation .goal24-learning {
    max-width: 34rem;
    margin-top: 1.4rem;
    padding-top: 1rem;
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.42;
  }
}
