/* Method page: "cells" visual language. Loaded only by method.html, after site.css. Flat colours only. */
.vp-method { --cell: var(--coral); --cell-tint: #fff6f5; --cell-grid: #ffd3d0; --cell-ink: #7a4343; --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; }
.cell-defs { position: absolute; width: 0; height: 0; overflow: hidden; color: var(--cell); }

.mono { font-family: var(--mono); font-size: 11.5px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.mono-rule { max-width: none; width: 100%; display: flex; justify-content: space-between; gap: 16px; margin: 0 0 clamp(14px, 1.6vw, 22px); padding-bottom: 10px; border-bottom: 1.5px solid #000; }

/* hero: the blueprint panel becomes a cell field */
.vpanel.cells { background: var(--cell-tint); box-shadow: inset 0 0 0 1px rgba(27, 27, 27, .85); }
.vpanel.cells svg { width: 100%; height: 100%; display: block; }

/* service cards: a grid panel with one cell, then a coordinate row */
.vp-method .cards .card2 { padding: 12px 12px clamp(22px, 2.2vw, 30px); gap: 14px; }
.cpanel { margin: 0; border-radius: 10px; overflow: hidden; background: var(--cell-tint); }
.cpanel svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }
.vp-method .cards .card2 .meta { display: flex; justify-content: space-between; padding: 0 clamp(8px, .9vw, 14px); }
.vp-method .cards .card2 h3, .vp-method .cards .card2 p { padding: 0 clamp(8px, .9vw, 14px); }

/* pathway: cell stage panel; the numbered circle turns into a mono [ 01 ] label */
.vp-method .step-row li { padding: 12px 12px clamp(22px, 2.2vw, 30px); gap: 12px; }
.vp-method .step-row .cpanel svg { aspect-ratio: 4 / 3; }
.vp-method .step-row .n { order: 2; display: block; width: auto; height: auto; margin: 4px 0 0; border-radius: 0; background: none; color: #000; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .04em; }
.vp-method .step-row .n::before { content: "[ 0"; }
.vp-method .step-row .n::after { content: " ]"; }
.vp-method .step-row .cpanel { order: 1; }
.vp-method .step-row h3 { order: 3; }
.vp-method .step-row p { order: 4; }
.vp-method .step-row h3, .vp-method .step-row p, .vp-method .step-row .n { padding: 0 clamp(8px, .9vw, 14px); }

/* feasibility triangle: crop the empty margins around the drawing and tighten the section */
.vp-method #design { padding-block: clamp(40px, 5vw, 72px); }
.vp-method #design h2.center { margin-bottom: 0; }
.vp-method #design .tri-fig { width: min(640px, 100%); margin-top: clamp(8px, 1.5vw, 20px); }
.vp-method #design .faq-link { margin-top: clamp(8px, 1.5vw, 20px); }

/* services: three cards on the first row, the last two share the second row at half width each */
@media (min-width: 1101px) {
  .vp-method .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .vp-method .cards .card2 { grid-column: span 2; }
  .vp-method .cards .card2:nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .vp-method .cards .card2:last-child { grid-column: 1 / -1; }
}

/* services: white cards on one grey plate, no red outline */
.vp-method .cards { background: #f4f4f2; padding: 12px; gap: 12px; border-radius: calc(var(--r) + 8px); }
.vp-method .cards .card2 { box-shadow: none; background: #fff; }

/* services: wide, flat panels; the round cells are cropped by the frame instead of stretched */
.vp-method .cards .cpanel svg { aspect-ratio: 3.2 / 1; }
