/* ===========================================================
   METHODS — editorial knowledge archive (docs-style)
   Light theme. No cinematic chrome. Typography-first index
   and a single-column reading template for each article.
   =========================================================== */

.methods-page {
  background: var(--bg);
  color: #111;
}

.methods-main {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(140px, 14vw, 200px) clamp(24px, 3vw, 40px) clamp(96px, 10vw, 140px);
}

/* --- Header --- */
.methods-header {
  margin-bottom: clamp(40px, 4vw, 56px);
}

.methods-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 14px;
}

.methods-lede {
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

/* --- Category groups --- */
.methods-group + .methods-group {
  margin-top: clamp(56px, 6vw, 80px);
}

.methods-category {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0;
  padding-bottom: 12px;
  text-transform: uppercase;
}

.methods-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Article items --- */
.methods-item {
}

.methods-link {
  align-items: flex-start;
  border-radius: 8px;
  color: inherit;
  display: flex;
  gap: 24px;
  margin: 0 -16px;
  padding: 24px 16px;
  text-decoration: none;
  transition:
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.methods-item-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  width: 160px;
}

.methods-item-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.methods-item-content {
  flex: 1;
  min-width: 0;
}

a.methods-link:hover {
  background: rgba(0, 0, 0, 0.025);
}

.methods-item.is-draft .methods-link {
  cursor: default;
  opacity: 0.62;
}

.methods-item-title {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 10px;
}

.methods-item-desc {
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0 0 14px;
  max-width: var(--read-default);
}

.methods-item-meta {
  color: rgba(0, 0, 0, 0.32);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--fw-book);
  letter-spacing: 0;
  margin: 0;
}

/* --- Methods footer --- */
.methods-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: clamp(80px, 9vw, 120px);
  padding-top: 32px;
}

.methods-footer-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.methods-footer-copy {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 13px;
  margin: 0;
}

.methods-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.methods-footer-links a {
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.methods-footer-links a:hover {
  color: #111;
}

/* ===========================================================
   METHOD ARTICLE — single centered reading column
   =========================================================== */

.method-article-page {
  background: var(--bg);
}

.method-article-main {
  margin: 0 auto;
  max-width: 960px;
  padding: 0 clamp(24px, 3vw, 40px);
}

.method-article {
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(120px, 13vw, 180px) 0 clamp(120px, 14vw, 180px);
}

/* --- Article header --- */
.method-article-header {
  margin-bottom: clamp(36px, 3.5vw, 48px);
}

.method-breadcrumb {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 clamp(48px, 5vw, 64px);
}

.method-breadcrumb a {
  color: inherit;
  transition: color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.method-breadcrumb-arrow {
  display: inline-block;
  margin-right: 10px;
}

.method-breadcrumb a:hover {
  color: #111;
}

.method-article-title {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 24px;
}

.method-article-subtitle {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0 0 28px;
}

.method-article-meta {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
  padding-bottom: clamp(28px, 3vw, 40px);
}

/* --- Article body --- */
.method-article-body {
  color: rgba(0, 0, 0, 0.72);
  font-family: var(--font-display);
}

.method-article-body p {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  margin: 0 0 20px;
}

.method-article-body h3 {
  color: #111;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 36px 0 12px;
}

.method-article-body p:last-child {
  margin-bottom: 0;
}

.method-lead {
  color: #111 !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.55 !important;
  margin-bottom: 16px !important;
}

.method-article-body a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 3px;
  transition: text-decoration-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.method-article-body a:hover {
  text-decoration-color: #111;
}

/* --- Sections --- */
.method-section {
  margin-top: clamp(52px, 5vw, 72px);
}

.method-eyebrow {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.method-section-title {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 14px;
}

.method-subsection-title {
  color: #111;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 32px 0 12px;
}

.method-subsection-title:first-of-type {
  margin-top: 16px;
}

.method-article-body em {
  font-style: italic;
}

/* --- Pull quote --- */
.method-pullquote {
  margin: clamp(56px, 6vw, 80px) 0;
  padding: 0;
}

.method-pullquote p {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  max-width: 600px;
}

/* --- Inline list --- */
.method-list {
  color: rgba(0, 0, 0, 0.75);
  font-family: var(--font-display);
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-list li {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  padding: 14px 0;
}

.method-list li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Stack dl --- */
.method-stack-dl {
  margin: 0;
}

.method-stack-dl div {
  display: grid;
  gap: 16px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 18px 0;
}

.method-stack-dl div + div {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.method-stack-dl dt {
  color: #111;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.method-stack-dl dd {
  color: rgba(0, 0, 0, 0.75);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

/* --- Figure / inline artifact --- */
.method-figure {
  margin: clamp(32px, 4vw, 48px) 0;
}

.method-figure .essay-tile {
  border-radius: 12px;
}

.method-figure img,
.method-figure video {
  border: 0.5px solid rgba(0, 0, 0, 0.1);
}

/* --- Body lists --- */
.method-article-body ul.method-body-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.method-article-body ul.method-body-list li {
  color: rgba(0, 0, 0, 0.75);
  font-size: 16px;
  line-height: 1.6;
  padding: 2px 0 2px 18px;
  position: relative;
}

.method-article-body ul.method-body-list li::before {
  color: rgba(0, 0, 0, 0.3);
  content: "–";
  left: 0;
  position: absolute;
}

.method-article-body ul.method-body-list li ul {
  list-style: none;
  margin: 4px 0 4px 16px;
  padding: 0;
}

.method-article-body ul.method-body-list li ul li::before {
  content: "·";
}

/* --- Modes / data table --- */
.method-table {
  border-collapse: collapse;
  font-family: var(--font-display);
  font-size: 15px;
  margin: 16px 0 20px;
  width: 100%;
}

.method-table th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 10px 16px 12px;
  text-align: left;
}

.method-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.72);
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  vertical-align: top;
}

/* Drop the side padding on the first and last columns so the row
   content aligns with the start / end of the underlining hairlines —
   no visible "indent" before the first cell. */
.method-table th:first-child,
.method-table td:first-child {
  padding-left: 0;
}

.method-table th:last-child,
.method-table td:last-child {
  padding-right: 0;
}

.method-table td:first-child {
  color: #111;
  font-weight: 600;
  white-space: nowrap;
}

.method-table td strong {
  font-weight: inherit;
}

.method-table tr:last-child td {
  border-bottom: none;
}

/* --- Stage sub-section header --- */
.method-stage-sub {
  color: rgba(0, 0, 0, 0.45) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  margin: 22px 0 8px !important;
  text-transform: uppercase !important;
}

/* --- Stage tip line --- */
.method-stage-tip {
  background: rgba(0, 0, 0, 0.025);
  border-radius: 6px;
  color: rgba(0, 0, 0, 0.75) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  margin: 18px 0 0 !important;
  padding: 11px 16px !important;
}

/* --- Stage gate --- */
.method-stage-gate {
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  margin-top: 22px;
  padding: 14px 20px;
}

.method-stage-gate-title {
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important
  margin: 0 0 10px !important;
}

.method-stage-gate-grid {
  column-gap: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 0;
}

.method-stage-gate-col p {
  color: rgba(0, 0, 0, 0.45) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.method-stage-gate-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-stage-gate-col ul li {
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  line-height: 1.55;
  padding: 2px 0 2px 14px;
  position: relative;
}

.method-stage-gate-col ul li::before {
  color: rgba(0, 0, 0, 0.3);
  content: "–";
  left: 0;
  position: absolute;
}

/* --- Stage goal blockquote (inline) --- */
.method-stage-goal {
  color: rgba(0, 0, 0, 0.75) !important;
  font-size: 15px !important;
  font-style: italic !important;
  margin: 0 0 20px !important;
}

/* --- Modes note --- */
.method-modes-note {
  color: rgba(0, 0, 0, 0.75) !important;
  font-size: 14px !important;
  font-style: italic !important;
  margin: 0 0 14px !important;
}

/* --- Callout box --- */
.method-callout {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  color: rgba(0, 0, 0, 0.75) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin: 0 0 32px !important;
  padding: 16px 20px !important;
}

/* --- Closing coda line --- */
.method-coda {
  color: #111 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin-top: clamp(64px, 7vw, 96px) !important;
}

.method-article-footer {
  margin-top: 0;
}

/* --- Related approach — card grid mirroring case-related-* on work pages --- */
.method-related-section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: clamp(96px, 11vw, 160px);
  padding-top: clamp(48px, 5vw, 72px);
}

.method-related-heading {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.method-related-grid {
  display: grid;
  gap: 32px 48px;
  grid-template-columns: repeat(2, 1fr);
}

.method-article-body .method-related-card,
.method-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.method-article-body .method-related-card:hover {
  text-decoration: none;
}

.method-related-card:hover {
  transform: scale(1.01);
}

.method-related-cover {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #ececec;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.method-related-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.method-related-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 2px;
}

.method-related-cat {
  color: rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--fw-book);
  letter-spacing: 0;
}

.method-related-title {
  color: #111;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

.method-related-date {
  color: rgba(0, 0, 0, 0.4);
  font-family: var(--font-display);
  font-size: 13px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .method-related-grid {
    grid-template-columns: 1fr;
  }
}

