/* ── METHOD HERO ── */
.method-hero {
  min-height: 100vh;
  padding: 10rem var(--section-pad-x) 7rem;
  background: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
}
.method-hero-copy {
  position: relative;
  z-index: 1;
  width: 52%;
  max-width: 700px;
  padding-right: 3rem;
}
.method-hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.method-hero-copy h1 sup {
  font-size: 0.4em;
  font-weight: 300;
  vertical-align: 0.9em;
  margin-left: -0.7em;
}
.method-hero-copy .hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}
.method-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: min(50%, 1400px);
  height: 100%;
  overflow: hidden;
}
.method-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── ORIGIN ── */
.method-history {
  padding: 8rem var(--section-pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}
.method-history h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.method-history p {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.method-history p strong {
  font-weight: 700;
}
.method-history-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  margin-top: 0.5rem;
}
.method-history-stat {
  background: var(--white);
  padding: 2rem;
}
.method-history-stat-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rose);
  margin-bottom: 0.5rem;
}
.method-history-stat-number em {
  font-style: normal;
  font-family: "DM Sans", sans-serif;
  font-size: 0.55em;
  letter-spacing: 0;
  vertical-align: 0.15em;
}
.method-history-stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── 5 PS ── */
.method-5ps {
  padding: 8rem var(--section-pad-x);
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}
.method-5ps-header {
  max-width: 680px;
  margin-bottom: 4rem;
}
.method-5ps h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.method-5ps h2 sup {
  font-size: 0.4em;
  font-weight: 300;
  vertical-align: 0.9em;
  margin-left: -0.7em;
}
.method-5ps-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
}
.method-5ps-wheel {
  position: relative;
  width: min(820px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.wheel-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wheel-ring {
  fill: none;
  stroke: var(--border);
  stroke-width: 0.4;
}
.wheel-spoke {
  stroke: var(--border);
  stroke-width: 0.4;
}
.wheel-dot {
  r: 1.4;
  fill: var(--rose);
}
.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--cream);
  border: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wheel-hub-num {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--rose);
  line-height: 1;
}
.wheel-hub-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}
.wheel-node {
  position: absolute;
  top: var(--ny);
  left: var(--nx);
  white-space: nowrap;
}
.wheel-node--top {
  transform: translate(-50%, calc(-100% - 16px));
  text-align: center;
}
.wheel-node--bottom {
  transform: translate(-50%, 16px);
  text-align: center;
}
.wheel-node--right {
  transform: translate(16px, -50%);
  text-align: left;
}
.wheel-node--left {
  transform: translate(calc(-100% - 16px), -50%);
  text-align: right;
}
.p-letter {
  color: var(--rose);
  font-family: "Playfair Display", serif;
  font-size: 1.3em;
}
.p-title {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
/* The five names as a full-width ruled band, matching the capped-header +
   bordered-grid pattern .method-pillars-grid and .validation-strip already
   use on this page. (The wheel this replaced was a centred square, which is
   why the old styles were width-capped and auto-margined.) */
.method-5ps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
/* ::first-letter carries the rose Playfair capital, so each name stays a
   single text node — an inline <span> would leave Prettier free to reflow the
   surrounding whitespace into a visible gap after the P. */
.method-5ps-list li {
  padding: 2.5rem 0;
  border-right: 0.5px solid var(--border);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
}
.method-5ps-list li:last-child {
  border-right: none;
}
.method-5ps-list li::first-letter {
  color: var(--rose);
  font-family: "Playfair Display", serif;
  font-size: 1.3em;
}
/* Closes the section in the same column as the header's intro. */
.method-5ps-note {
  max-width: 680px;
  margin-top: 2rem;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
}
.method-5ps-cta {
  display: flex;
  width: fit-content;
  margin: 2.5rem auto 0;
}
/* ── THREE STANDARDS ── */
.method-pillars {
  padding: 8rem var(--section-pad-x);
  background: var(--ink);
  border-bottom: 0.5px solid var(--border);
}
.method-pillars-header {
  max-width: 620px;
  margin-bottom: 4rem;
}
.method-pillars h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.method-pillars-header p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
.method-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
}
.method-pillar {
  padding: 2.5rem;
  border-right: 0.5px solid rgba(255, 255, 255, 0.15);
}
.method-pillar:last-child {
  border-right: none;
}
.method-pillar-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.method-pillar-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.pillar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.pillar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}
.pillar-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pillar-legend-swatch--found {
  background: var(--rose);
}
.pillar-legend-swatch--missed {
  background: none;
  border: 1px solid var(--cream);
}
.method-pillar-img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0.75rem auto 0;
  transition: opacity 0.4s ease;
}
.method-pillar .metric-indicator {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 26px;
  font-weight: 500;
  transition: opacity 0.4s ease;
}

/* ── VALIDATION ── */
.method-validation {
  padding: 8rem var(--section-pad-x);
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}
.method-validation-header {
  max-width: 620px;
  margin-bottom: 4rem;
}
.method-validation h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}
.validation-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.validation-item {
  padding: 2.5rem 0;
  border-right: 0.5px solid var(--border);
}
.validation-item:last-child {
  border-right: none;
}
.validation-item:not(:first-child) {
  padding-left: 2.5rem;
}
.validation-num {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.validation-num .arrow {
  display: inline-block;
  margin: 0 0.35em;
  color: var(--ink-muted);
  font-size: 0.6em;
  vertical-align: 0.15em;
}
.validation-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 280px;
}
.validation-desc em {
  font-style: italic;
  color: var(--ink-mid);
}
.validation-cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
}
.validation-cite a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.validation-cite a:hover {
  color: var(--rose);
}

/* ── PUBLICATIONS ── */
.publications {
  padding: 8rem var(--section-pad-x);
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}
.publications-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.publications h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.publications-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
}
.pub-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
}
.pub-group {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 2px;
  padding: 0 1.75rem;
}
.pub-group summary {
  padding: 1.5rem 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pub-group summary::-webkit-details-marker {
  display: none;
}
.pub-group summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 15px;
  color: var(--rose);
  flex-shrink: 0;
}
.pub-group[open] summary::before {
  content: "−";
}
.pub-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--rose-pale);
  border-radius: 100px;
  padding: 2px 9px;
  margin-left: auto;
}
.pub-list {
  list-style: none;
  margin: 0;
  padding: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 0.5px solid var(--border);
  padding-top: 1.5rem;
}
.pub-list li {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  padding-left: 1.75rem;
  position: relative;
  counter-increment: pub-counter;
}
.pub-list li::before {
  content: counter(pub-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  color: var(--ink-muted);
}
.pub-list li[id] {
  scroll-margin-top: 7rem;
}
.pub-list li[id]:target {
  background: var(--rose-light);
  border-radius: 4px;
  margin: -0.5rem -1.75rem;
  padding: 0.5rem 1.75rem 0.5rem 3.5rem;
  transition: background 0.3s ease;
}
.pub-list li[id]:target::before {
  left: 1.75rem;
}
.pub-list {
  counter-reset: pub-counter;
}
.pub-list[start="7"] {
  counter-reset: pub-counter 6;
}
.pub-list[start="20"] {
  counter-reset: pub-counter 19;
}
.pub-list em {
  font-style: italic;
  color: var(--ink);
}
.pub-note {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-muted);
  margin-top: 2rem;
  max-width: 680px;
}
.pub-note a {
  color: var(--rose);
  text-decoration: underline;
}

/* ── CURRENT RESEARCH ── */
.current-research {
  padding: 8rem var(--section-pad-x);
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
}
.current-research-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.current-research h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.current-research-header p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
}
.research-groups {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.research-group-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--border);
}
.research-group-header h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.research-group-header p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted-dark);
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}
.research-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-top: 3px solid var(--rose);
  border-radius: 2px;
  padding: 2rem 1.75rem;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.research-card:hover,
.research-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 20, 16, 0.08);
}
.research-card h4 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
.research-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.research-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--rose);
  display: inline-flex;
  gap: 0.4rem;
}
.research-card:hover .research-link {
  color: var(--rose-dark);
}

/* ── CLOSING CTA ── */
.method-cta {
  padding: 7rem var(--section-pad-x);
  background: var(--ink);
  text-align: center;
}
.method-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}
.method-cta h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.method-cta p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.method-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.method-cta .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.method-cta .btn-ghost:hover {
  border-color: var(--white);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .method-hero {
    min-height: auto;
    flex-direction: column;
    padding-top: 8rem;
  }
  .method-hero-copy {
    width: 100%;
    padding-right: 0;
  }
  .method-hero-image {
    position: relative;
    width: 100%;
    height: 380px;
    margin-top: 3rem;
  }
  /* The short stacked strip can't show the whole portrait; frame it lower so
     the face and the hand on the breast both stay in view. */
  .method-hero-image img {
    object-position: center 45%;
  }
  .method-history {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .method-history-stats {
    grid-template-columns: 1fr;
  }
  .method-5ps-wheel {
    width: min(560px, 100%);
  }
  .wheel-hub {
    width: 104px;
    height: 104px;
  }
  .wheel-hub-num {
    font-size: 32px;
  }
  /* Collapses at the same width as the sibling grids below: five columns get
     cramped well before 600px, and "Perimeter" needs ~124px of cell to
     breathe. */
  .method-5ps-list {
    grid-template-columns: 1fr;
  }
  .method-5ps-list li {
    text-align: left;
    padding: 1.1rem 0;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .method-5ps-list li:last-child {
    border-bottom: none;
  }
  .method-pillars-grid {
    grid-template-columns: 1fr;
  }
  .method-pillar {
    border-right: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  }
  .method-pillar:last-child {
    border-bottom: none;
  }
  .validation-strip {
    grid-template-columns: 1fr;
  }
  .validation-item {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 1.75rem 0;
  }
  .validation-item:not(:first-child) {
    padding-left: 0;
  }
  .validation-item:last-child {
    border-bottom: none;
  }
  .method-cta-row {
    flex-direction: column;
    gap: 1rem;
  }
  /* Trim the 7-8rem desktop section padding in the tablet band too; ≤600 goes
     tighter still below. */
  .method-history,
  .method-5ps,
  .method-pillars,
  .method-validation,
  .publications,
  .current-research,
  .method-cta {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
@media (max-width: 600px) {
  .method-5ps-note {
    margin-top: 1.5rem;
  }
  .method-5ps-wheel {
    width: 100%;
    aspect-ratio: auto;
  }
  .wheel-lines,
  .wheel-hub {
    display: none;
  }
  .wheel-node {
    position: static;
    transform: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    border-bottom: 0.5px solid var(--border);
  }
  .wheel-node:last-child {
    border-bottom: none;
  }
  .method-hero,
  .method-history,
  .method-pillars,
  .method-5ps,
  .method-validation,
  .publications,
  .current-research,
  .method-cta {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  /* Tighten section vertical padding on phones: the 8rem gaps read as premium
     whitespace on desktop but leave big dead zones between sections on a
     phone. Vertical only — the horizontal gutter is untouched. */
  .method-history,
  .method-5ps,
  .method-pillars,
  .method-validation,
  .publications,
  .current-research,
  .method-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .method-hero {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
  .method-hero-image {
    height: 280px;
  }
}
