/* Landing method and Phantom layout; colours and typography inherit the landing system. */
.landing-v3 :is(#metodo, #method, #voices) { scroll-margin-top: 88px; }
.landing-v3 #metodo { position: relative; }
.landing-v3 #method { position: absolute; top: 0; margin: 0; padding: 0; border: 0; }

.landing-v3 .metodo-how-grid,
.metodo-ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); padding: 0; list-style: none; }
.landing-v3 .metodo-how-grid > li { min-width: 0; padding: 0 0 14px; background: transparent; border: 0; }
.metodo-how-grid figure { width: min(100%, 235px); margin: 0 0 16px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--dark); }
.metodo-how-grid img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 693; border-radius: 9px; object-fit: contain; object-position: top; }
.metodo-how-grid h3 span,
.metodo-step-num { display: block; margin-bottom: 8px; color: #635843; font: 750 .8rem/1.2 var(--body); letter-spacing: .11em; }
.metodo-how-grid h3 { margin-bottom: .45rem; }
.metodo-how-grid:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.metodo-quote { display: grid; gap: .5rem; margin: 0 0 clamp(26px, 4.5vw, 52px); padding: 4px 0 4px clamp(16px, 3vw, 28px); border-inline-start: 3px solid var(--ink); }
.metodo-quote blockquote { max-width: 45ch; margin: 0; font: 400 clamp(1.35rem, 3vw, 2.35rem)/1.24 var(--display); }
.metodo-quote figcaption { font-size: .9rem; font-weight: 750; }
.metodo-translation { font-weight: 400; }

.metodo-ladder { margin: 0; }
.metodo-ladder li { min-width: 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.metodo-ladder h3,
.metodo-kip h3,
.metodo-close h3 { margin: 0 0 .45em; font: 400 clamp(1.45rem, 2.6vw, 2.25rem)/1.08 var(--display); }
.metodo-ladder p { margin: .4em 0 0; font-size: .95rem; }
.metodo-ladder .metodo-criterion { font-weight: 750; }
.metodo-clip { position: relative; width: 100%; max-width: 255px; margin: 0 0 1rem; }
.metodo-clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--dark); }
.metodo-clip-play { position: absolute; left: 12px; bottom: 12px; min-width: 46px; min-height: 46px; color: var(--paper); background: var(--dark); border: 1px solid var(--paper); border-radius: 50%; }

.metodo-kip { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(18px, 5vw, 62px); margin-top: clamp(38px, 6vw, 76px); border-block: 1px solid var(--line); padding: clamp(18px, 4vw, 42px); background: #f8f6ef; }
.metodo-kip figure { max-width: 390px; margin: 0; }
.metodo-kip video { display: block; width: 100%; height: auto; aspect-ratio: 540 / 656; background: #f7f4ee; }
.metodo-kip figcaption { margin-top: .55rem; font-size: .85rem; }
.metodo-phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 1.15rem; }
.metodo-phases button { min-height: 46px; padding: .55rem .7rem; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 .9rem/1.25 var(--body); cursor: pointer; }
.metodo-phases button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.metodo-faster { margin: 1.35rem 0 2rem; font-weight: 750; }
.metodo .r6-rules > li h4::before { content: none; }
.metodo-close { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); align-items: center; gap: clamp(16px, 4vw, 52px); margin-top: clamp(28px, 5vw, 58px); padding: clamp(20px, 4vw, 44px); border: 1px solid var(--line); background: var(--sand); color: var(--dark); }
.metodo-actions { display: grid; gap: 10px; justify-items: start; }
.metodo-actions .button { background: var(--dark); color: var(--paper); border-color: var(--dark); }
.metodo .method-numbers { margin: 1.1rem 0 0; }
#skills .r6-plate picture, #guide .r6-plate picture { display: block; }
#skills .metodo-skill-board { margin: 0; min-width: 0; }
#skills .metodo-skill-board .r6-plate { max-width: none; margin: 0; border-width: 0 0 1px; }
#skills .metodo-skill-board .r6-plate picture { aspect-ratio: 480 / 200; }
#skills .metodo-board-caption { padding: 6px 12px; font-size: .85rem; }
.metodo-board-caption { white-space: normal; overflow-wrap: anywhere; }
#guide [data-family="pizarra-v5"] .r6-plate picture { aspect-ratio: 480 / 622; }
#skills .r6-plate[data-family="pizarra-v5"] img,
#guide [data-family="pizarra-v5"] .r6-plate img { height: 100%; }

.metodo-phantom .section-heading { margin-bottom: .45rem; }
.metodo-phantom > .container > .note { margin: 0 0 1.2rem; }
.landing-v3 .metodo-phantom .inspector-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-v3 .metodo-phantom .inspector { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto; align-items: stretch; }
.metodo-phantom .inspector-panel { display: grid; grid-area: 1 / 1 / -1 / -1; grid-template-columns: subgrid; grid-template-rows: subgrid; min-width: 0; }
.metodo-phantom .inspector-panel > * { min-width: 0; }
.metodo-phantom [inert] { visibility: hidden; pointer-events: none; }
.metodo-phantom [data-stage][inert] { opacity: 0; }
.metodo-phantom .phantom-stage { padding: clamp(12px, 3vw, 24px); }
.metodo-phantom :is(.phantom-frame, .phantom-stage > img) { display: block; width: min(100%, 340px); height: auto; aspect-ratio: 9 / 16; }
.metodo-phantom .phantom-stage > img { aspect-ratio: 390 / 693; object-fit: contain; }
.metodo-phantom .phantom-frame video { width: 100%; height: 100%; }
.metodo-phantom .metodo-panel-copy { padding: clamp(16px, 3.3vw, 42px); }
.metodo-phantom .metodo-panel-copy > p { margin: 0 0 1rem; }
.metodo-legend { display: grid; gap: .85rem; margin: 1rem 0; }
.metodo-legend div { padding: .65rem 0 0; border-top: 1px solid var(--dark-line); }
.metodo-legend dt { color: var(--mint); font-weight: 750; }
.metodo-legend dd { margin-inline-start: 0; }
#metodo-readout { min-block-size: 2lh; color: var(--mint); font-variant-numeric: tabular-nums; }
.landing-v3 .metodo-phantom #voices { margin-top: 1.2rem; padding-top: 1rem; }
.metodo-phantom .voice-console { padding: clamp(10px, 2vw, 24px); }
.metodo-phantom .coach-desc { min-block-size: 3lh; }
.metodo-phantom #coach-cue { min-block-size: calc(3lh + 1px); font: 400 clamp(1.03rem, 1.7vw, 1.25rem)/1.34 var(--body); }
.metodo-phantom .voice-console #audio-note { min-block-size: 2lh; }
.metodo-phantom .voice-console #audio-status { display: block; min-block-size: 2lh; }
.metodo-phantom #audio-toggle { min-block-size: 44px; white-space: nowrap; }
.landing-v3 :is(.metodo-phases, .metodo-clip, .metodo-phantom .inspector-tabs) button:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

@media (max-width: 690px) {
  .landing-v3 .metodo-how-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .metodo-how-grid > li { scroll-snap-align: start; }
  .metodo-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metodo-kip,
  .metodo-close,
  .landing-v3 .metodo-phantom .inspector { grid-template-columns: minmax(0, 1fr); }
  .landing-v3 .metodo-phantom .inspector { grid-template-rows: repeat(2, auto); }
  .metodo-clip { max-width: 224px; }
  .metodo-phantom .phantom-stage { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .metodo-phantom :is(.phantom-frame, .phantom-stage > img) { width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  .metodo-phantom .voice-console.playing .waveform i { animation: none; }
}
