/* Purpose: Method · PEACE. Light section with an animated frequency wave and a grid of
   PEACE "transformation cards" — each lever (letter + name + definition) with a clear
   From → To shift. Redesigned 2026-06-11 from the old wide ledger for clarity + value. */

.method-peace { background: var(--bg-deep); position: relative; overflow: hidden; }

.method-peace__wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(220px, 36vw, 460px);
  color: var(--emerald);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}
.method-peace .section-i { position: relative; z-index: 1; }

/* Section head */
.method-peace .section-head { text-align: center; margin-bottom: 0; max-width: 760px; margin-inline: auto; }
.method-peace .eyebrow--center { justify-content: center; display: inline-flex; }
.method-peace .eyebrow--no-rule::before { display: none; }
.method-peace .sec-h2 { margin-top: 24px; }
.method-peace .sec-h2 em { color: var(--emerald); font-style: italic; }
.method-peace__lead {
  margin: 24px auto 0;
  max-width: 56ch;
  color: var(--ink-72);
  line-height: 1.6;
}
.method-peace__lead strong { color: var(--emerald); font-weight: 600; }

/* ── PEACE transformation cards ── */
.peace-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .peace-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .peace-card--wide { grid-column: 1 / -1; }
}

.peace-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(55, 96, 84, 0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 16px 40px -26px rgba(55, 96, 84, 0.22);
  transition: transform var(--dur-default) var(--ease), box-shadow var(--dur-default) var(--ease);
}
.peace-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -28px rgba(55, 96, 84, 0.30); }

.peace-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.peace-card__letter {
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 54px; height: 54px;
  background: var(--em-08);
  border-radius: 14px;
  font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--emerald);
}
.peace-card__name {
  margin: 2px 0 6px;
  font-family: var(--font-display); font-weight: var(--weight-regular);
  font-size: clamp(22px, 2vw, 26px); line-height: 1.1; letter-spacing: -0.012em; color: var(--ink);
}
.peace-card__def { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.peace-card__shift {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(55, 96, 84, 0.12);
}
.peace-card__state { display: flex; flex-direction: column; gap: 5px; }
.peace-card__state p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.peace-card__state--from p { color: var(--ink-56); }
.peace-card__state--to p { color: var(--ink); font-weight: 500; }
.peace-card__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
}
.peace-card__state--from .peace-card__tag { color: var(--ink-32); }
.peace-card__state--to .peace-card__tag { color: var(--emerald); }
.peace-card__connector { color: var(--emerald); font-size: 16px; line-height: 1; opacity: 0.7; padding-left: 2px; }

/* The 5th card spans full width — lay it out horizontally so it fills nicely. */
@media (min-width: 768px) {
  .peace-card--wide { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center; }
  .peace-card--wide .peace-card__head { margin-bottom: 0; }
  .peace-card--wide .peace-card__shift {
    margin-top: 0; padding-top: 0; border-top: 0;
    border-left: 1px solid rgba(55, 96, 84, 0.12); padding-left: 36px;
  }
}

/* Close line */
.peace-close {
  margin: 40px auto 0; text-align: center;
  font-size: 15px; color: var(--muted); line-height: 1.6;
  max-width: 60ch;
}
.peace-close strong { color: var(--ink); font-weight: 600; }
.peace-close em { color: var(--emerald); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .method-peace__wave animate { display: none; }
}
