/* /portfolio/psychology/: the reader comes first, so every block starts with a person. The signature is a
   question piece and an answer piece that lock together: the J (sky) piece is the person asking, the
   sheet is the page that fits them. */
.psy { color: var(--ink); }
.psy h2 { margin: 0 0 16px; font: 800 var(--h2)/1.08 var(--face); font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; max-width: 28ch; }
.psy-hero { padding-block: clamp(10px, 2.5vw, 32px) clamp(28px, 5vw, 64px); }
.psy-crumb { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 0.95rem; }
.psy-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.psy-switch ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; gap: 0; border-bottom: 1px solid var(--paper-line); }
.psy-switch a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; color: var(--ink-soft); text-decoration: none; font-weight: 700; white-space: nowrap; }
.psy-switch a[aria-current] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--sky); }
@media (hover: hover) { .psy-switch a:not([aria-current]):hover { color: var(--ink); } }
.psy-hero h1 { margin: 8px 0 18px; font: 800 var(--h1-page)/1.04 var(--face); font-stretch: 112%; letter-spacing: -0.025em; text-wrap: balance; max-width: 22ch; }

/* The exhibit: a question piece locking into an answer piece */
.psy-exhibit { display: grid; gap: 0; }
.psy-ask, .psy-answer { position: relative; padding: 18px 18px 20px; border-radius: var(--radius); }
.psy-ask { background: var(--sky); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16); }
.psy-ask::after { content: ""; position: absolute; left: 32px; bottom: -22px; width: 44px; height: 24px; background: var(--sky); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16); z-index: 1; }
.psy-answer { background: var(--sheet); box-shadow: inset 0 0 0 2px #c3cad3, 0 6px 0 var(--paper-line); padding-top: 30px; }
.psy-who { margin: 0 0 6px; font-weight: 700; font-size: 0.92rem; }
.psy-q { margin: 0 0 8px; font: 800 clamp(1.3rem, 2.6vw, 1.9rem)/1.15 var(--face); font-stretch: 106%; }
.psy-why, .psy-a { margin: 0 0 10px; line-height: 1.5; }
.psy-result { margin: 0 0 6px; line-height: 1.45; }
.psy-result strong { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--number-ink); }
.psy-result span { display: block; color: var(--ink-soft); font-size: 0.88rem; }
.psy-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 900px) {
  .psy-exhibit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; }
  .psy-ask { padding: 26px; }
  .psy-ask::after { left: auto; right: -22px; bottom: auto; top: 40px; width: 24px; height: 44px; box-shadow: none; }
  .psy-answer { padding: 26px 26px 26px 40px; }
}
.psy-reason { margin: 22px 0 0; padding: 12px 14px; background: var(--sheet); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--paper-line); line-height: 1.55; color: var(--ink-soft); }
.psy-reason strong { color: var(--ink); }

/* His test */
.psy-test { background: var(--field); color: var(--bone); padding-block: var(--section-tight); }
.psy-test-grid { display: grid; gap: 10px 48px; }
@media (min-width: 900px) { .psy-test-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
.psy-quote { margin: 0 0 16px; }
.psy-quote p { margin: 0 0 6px; font-weight: 700; font-size: 1.15rem; line-height: 1.4; }
.psy-quote footer { color: var(--bone-soft); font-size: 0.88rem; }
.psy-quote--big p { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; color: var(--sky); }

/* Page shape by stage */
.psy-stages { padding-block: var(--section-tight); }
.psy-takeaway { margin: 0 0 18px; line-height: 1.55; }
.psy-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.psy-table thead th { text-align: left; font-size: 0.9rem; color: var(--ink-soft); padding: 0 14px 4px; }
.psy-table tbody th, .psy-table td { padding: 14px; text-align: left; vertical-align: top; line-height: 1.5; background: var(--sheet); }
.psy-table tbody th { font-weight: 800; background: var(--sky); border-radius: var(--radius) 0 0 var(--radius); }
.psy-table td:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.psy-cite { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 759px) {
  .psy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .psy-table, .psy-table tbody, .psy-table tr, .psy-table th, .psy-table td { display: block; }
  .psy-table tr { margin-bottom: 10px; }
  .psy-table tbody th { border-radius: var(--radius) var(--radius) 0 0; }
  .psy-table td:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .psy-table td::before { content: attr(data-label); display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }
}

/* CheckMyTap: the order of a decision */
.psy-tap { background: var(--sheet); padding-block: var(--section-tight); }
.psy-tap-grid { display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 900px) { .psy-tap-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); } }
.psy-tap p { line-height: 1.6; }
.psy-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.psy-order li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border-radius: var(--radius); font-weight: 700; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.06); }
.psy-order li:nth-child(2) { margin-left: 18px; }
.psy-order li:nth-child(3) { margin-left: 36px; }
.psy-order span { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--sky); border-radius: 2px; }

/* More work, sorted by reader */
.psy-work { padding-block: var(--section-tight); }
.psy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .psy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.psy-list li { padding: 14px 16px; background: var(--sheet); border-radius: var(--radius); box-shadow: 0 4px 0 var(--paper-line); }
.psy-list-who { margin: 0 0 4px; color: var(--work-ink); font-weight: 700; font-size: 0.95rem; }
.psy-list-what { margin: 0; line-height: 1.5; }
.psy-list-what a { display: flex; align-items: center; width: fit-content; min-height: 44px; font-weight: 800; }
.psy-next { margin-top: 28px; }
.psy-next p { margin: 0 0 10px; }
.psy-next a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 360px) { .psy-hero h1 { margin-bottom: 12px; } .psy-hero .psy-q { font-size: 1.1rem; } }
/* 2026-10-12: the shared H1 size is larger than this page's old one; tighter hero spacing keeps the answer on a 390 first screen. */
@media (max-width: 430px) { .psy-hero h1 { margin: 4px 0 12px; } .psy-ask { padding: 14px 16px 16px; } .psy-answer { padding-top: 24px; } .psy-switch a { min-height: 44px; } }
@media (max-width: 430px) { .psy-hero h1 { font-size: 1.7rem; line-height: 1.08; } }
