/* ============================================
   Dra. Ana Matumoto — Método AM
   Typographic feature · editorial spread
   Inherits tokens from hero.css
   ============================================ */

.method {
  position: relative;
  padding: clamp(120px, 16vh, 200px) clamp(20px, 4vw, 64px);
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 92% 8%,
      rgba(203, 163, 107, 0.06) 0%,
      transparent 60%),
    radial-gradient(ellipse 50% 45% at 8% 92%,
      rgba(203, 163, 107, 0.045) 0%,
      transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* faint decorative numeral that lives off the page edge */
.method::after {
  content: "II";
  position: absolute;
  top: clamp(56px, 9vh, 110px);
  right: -0.18em;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(220px, 38vw, 520px);
  line-height: 0.78;
  color: rgba(203, 163, 107, 0.035);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  letter-spacing: -0.05em;
}

.method-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

/* ============================================
   1. MANIFESTO
   ============================================ */
.method-manifesto {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 9px 18px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 8, 7, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: clamp(44px, 6vh, 64px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.manifesto-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.manifesto-eyebrow strong {
  color: var(--ink);
  font-weight: 600;
}

.method-manifesto.is-revealed .manifesto-eyebrow {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.1s;
}

.manifesto-quote {
  position: relative;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  max-width: 16ch;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.method-manifesto.is-revealed .manifesto-quote {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.22s;
}

.manifesto-quote .quote-mark {
  position: absolute;
  left: -0.32em;
  top: -0.32em;
  font-size: 2em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  font-style: normal;
  pointer-events: none;
}

.manifesto-quote .strike {
  position: relative;
  color: var(--ink-mute);
  white-space: nowrap;
}

.manifesto-quote .strike::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  top: 58%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
}

.method-manifesto.is-revealed .manifesto-quote .strike::after {
  transform: scaleX(1);
  transition-delay: 1.4s;
}

.manifesto-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(32px, 4vh, 44px);
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.manifesto-author .line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.manifesto-author em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
  text-transform: none;
  font-size: 1.35em;
  letter-spacing: 0;
  font-variation-settings: "opsz" 24, "SOFT" 100;
}

.method-manifesto.is-revealed .manifesto-author {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.45s;
}

.manifesto-narrative {
  max-width: 920px;
  margin: clamp(72px, 10vh, 104px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  text-align: left;
}

.manifesto-narrative p {
  font-family: var(--f-sans);
  font-size: clamp(15.5px, 1.05vw, 17.5px);
  line-height: 1.72;
  color: var(--ink-soft);
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.manifesto-narrative em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 100;
}

.manifesto-narrative strong {
  color: var(--ink);
  font-weight: 500;
}

.manifesto-narrative .dropcap {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 3.4em;
  line-height: 0.84;
  float: left;
  padding: 0.04em 0.14em 0 0;
  color: var(--accent-2);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.method-manifesto.is-revealed .manifesto-narrative p:nth-child(1) {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.6s;
}

.method-manifesto.is-revealed .manifesto-narrative p:nth-child(2) {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.73s;
}

/* ============================================
   2. THREE NON-NEGOTIABLES (staircase layout)
   ============================================ */
.method-creed {
  max-width: 1140px;
  margin: clamp(120px, 16vh, 180px) auto 0;
}

.creed-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: clamp(56px, 7vh, 84px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.creed-eyebrow .line {
  flex: 0 0 64px;
  height: 1px;
  background: var(--line-strong);
}

.creed-eyebrow em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
  text-transform: none;
  font-size: 1.45em;
  letter-spacing: 0;
  font-variation-settings: "opsz" 36, "SOFT" 100;
}

.method-creed.is-revealed .creed-eyebrow {
  opacity: 1; transform: translateY(0);
}

.creed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: start;
}

/* Editorial staircase — each item drops slightly */
.creed-item {
  position: relative;
  padding: clamp(28px, 3.5vh, 40px) 0 0 clamp(40px, 4.2vw, 60px);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.creed-item:nth-child(2) { margin-top: clamp(28px, 4vh, 48px); }
.creed-item:nth-child(3) { margin-top: clamp(56px, 8vh, 96px); }

.method-creed.is-revealed .creed-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.method-creed.is-revealed .creed-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.method-creed.is-revealed .creed-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.49s; }

.creed-num {
  position: absolute;
  left: 0;
  top: clamp(20px, 3vh, 32px);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  color: var(--accent);
  font-variation-settings: "opsz" 72, "SOFT" 100;
  letter-spacing: -0.02em;
}

.creed-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.014em;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  margin-bottom: 16px;
}

.creed-title em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.creed-desc {
  font-family: var(--f-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ============================================
   3. PROCESS — the four etapas with gold spine
   ============================================ */
.method-process {
  max-width: 1080px;
  margin: clamp(120px, 16vh, 180px) auto 0;
}

.method-bridge {
  max-width: 760px;
  margin: 0 auto clamp(64px, 9vh, 100px);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.method-process.is-revealed .method-bridge {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.08s;
}

.method-bridge p {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.32;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 96, "SOFT" 50;
}

.method-bridge em {
  font-style: italic;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.process-header {
  text-align: center;
  margin-bottom: clamp(64px, 9vh, 100px);
}

.process-eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.method-process.is-revealed .process-eyebrow {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.2s;
}

.process-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(54px, 7.2vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.method-process.is-revealed .process-title {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.32s;
}

.process-title em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.process-title .period {
  color: var(--accent);
  margin-left: -0.04em;
}

.process-sub {
  margin-top: clamp(24px, 3vh, 36px);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--ink-soft);
  font-variation-settings: "opsz" 72, "SOFT" 80;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.method-process.is-revealed .process-sub {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.48s;
}

/* The list with the vertical gold spine */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: clamp(60px, 8vw, 110px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(203, 163, 107, 0.4) 6%,
    rgba(203, 163, 107, 0.4) 94%,
    transparent 100%);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 2s var(--ease-out);
}

.method-process.is-revealed .process-list::before {
  transform: scaleY(1);
  transition-delay: 0.6s;
}

.process-step {
  display: grid;
  grid-template-columns: clamp(120px, 14.5vw, 180px) 1fr;
  gap: clamp(30px, 3.6vw, 60px);
  align-items: start;
  padding: clamp(40px, 6vh, 64px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.process-step:first-child { padding-top: 0; }
.process-step:last-child  { padding-bottom: 0; border-bottom: none; }

.method-process.is-revealed .process-step:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.7s; }
.method-process.is-revealed .process-step:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.85s; }
.method-process.is-revealed .process-step:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 1s; }
.method-process.is-revealed .process-step:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 1.15s; }

.step-numeral {
  position: relative;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(58px, 7.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.038em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  text-align: right;
  padding-right: clamp(24px, 3vw, 40px);
}

/* dot anchored on the spine — to the right edge of the numeral column */
.step-numeral::after {
  content: "";
  position: absolute;
  right: -4.5px;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent-soft);
}

.step-eyebrow {
  display: block;
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}

.step-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  margin-bottom: clamp(14px, 1.6vh, 22px);
}

.step-desc {
  font-family: var(--f-sans);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 60ch;
}

/* ============================================
   4. CLOSING QUOTE
   ============================================ */
.method-closing {
  max-width: 940px;
  margin: clamp(120px, 16vh, 180px) auto 0;
  text-align: center;
  position: relative;
}

.method-closing::before {
  content: "✦";
  display: block;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: clamp(28px, 4vh, 44px);
  opacity: 0;
  transform: rotate(-20deg);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.method-closing.is-revealed::before {
  opacity: 0.85; transform: rotate(0);
  transition-delay: 0.1s;
}

.closing-quote {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.method-closing.is-revealed .closing-quote {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.22s;
}

.closing-quote em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  display: block;
  margin-top: 0.14em;
}

.closing-quote .strike {
  position: relative;
  color: var(--ink-mute);
  white-space: nowrap;
}

.closing-quote .strike::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  top: 56%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease-out);
}

.method-closing.is-revealed .closing-quote .strike::after {
  transform: scaleX(1);
  transition-delay: 1.4s;
}

.closing-sub {
  margin: clamp(28px, 3.5vh, 40px) auto 0;
  font-family: var(--f-sans);
  font-size: clamp(14.5px, 1vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 480px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.method-closing.is-revealed .closing-sub {
  opacity: 1; transform: translateY(0);
  transition-delay: 0.6s;
}

/* ============================================
   5. MENTORIA PULLOUT (asymmetric editorial aside)
   ============================================ */
.method-mentoria {
  max-width: 760px;
  margin: clamp(96px, 13vh, 140px) 0 0 auto;
  padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 56px);
  position: relative;
  border-left: 1px solid var(--accent);
  background: linear-gradient(135deg,
    rgba(203, 163, 107, 0.05) 0%,
    transparent 55%);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.method-mentoria.is-revealed {
  opacity: 1; transform: translateX(0);
}

.method-mentoria::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: -1px;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 13px;
  background: var(--bg);
  padding: 0 8px;
}

.method-mentoria::after {
  content: "✦";
  position: absolute;
  left: 0;
  bottom: -1px;
  transform: translate(-50%, 50%);
  color: var(--accent);
  font-size: 13px;
  background: var(--bg);
  padding: 0 8px;
  opacity: 0.6;
}

.mentoria-label {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}

.mentoria-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.014em;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  margin-bottom: 22px;
  max-width: 22ch;
}

.mentoria-title em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.mentoria-text {
  font-family: var(--f-sans);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 26px;
  max-width: 56ch;
}

.mentoria-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  transition: color 0.4s var(--ease), gap 0.4s var(--ease), border-color 0.4s var(--ease);
}

.mentoria-link svg {
  width: 16px;
  height: 8px;
  transition: transform 0.4s var(--ease);
}

.mentoria-link:hover {
  color: var(--accent-2);
  gap: 14px;
}

.mentoria-link:hover svg {
  transform: translateX(3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 920px) {
  .method::after {
    font-size: 280px;
    top: 30px;
    right: -0.2em;
  }

  .manifesto-narrative {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .creed-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .creed-item,
  .creed-item:nth-child(2),
  .creed-item:nth-child(3) {
    margin-top: 0;
  }

  .process-list::before {
    left: clamp(44px, 12vw, 70px);
  }

  .process-step {
    grid-template-columns: clamp(90px, 22vw, 130px) 1fr;
    gap: 22px;
  }

  .step-numeral {
    font-size: clamp(52px, 12vw, 80px);
    padding-right: clamp(18px, 4vw, 28px);
  }
}

@media (max-width: 580px) {
  .method {
    padding: 84px 18px;
  }

  .method::after {
    font-size: 200px;
    top: 20px;
  }

  .manifesto-quote {
    font-size: clamp(34px, 9.5vw, 52px);
    max-width: none;
  }

  .manifesto-quote .quote-mark {
    left: -0.15em;
    top: -0.18em;
    font-size: 1.6em;
  }

  .manifesto-narrative .dropcap {
    font-size: 2.8em;
  }

  .process-title {
    font-size: clamp(42px, 12vw, 64px);
  }

  .closing-quote {
    font-size: clamp(28px, 8.5vw, 44px);
  }

  .method-mentoria {
    margin-left: 0;
    padding: 32px 24px;
  }

  .mentoria-title {
    font-size: clamp(22px, 5.8vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .method *,
  .method *::before,
  .method *::after {
    transition: none !important;
    animation: none !important;
  }
  .method [data-reveal],
  .method [data-reveal] * {
    opacity: 1 !important;
    transform: none !important;
  }
}
