/* METHODOLOGY — editorial page (matches About / homepage insight) */

.onx-meth-hero {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(175deg, #d8e4d0 0%, var(--onx-canvas) 48%, #c4d0b8 100%);
  overflow: hidden;
}

.onx-meth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(86, 110, 88, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(86, 110, 88, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
}

.onx-meth-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

.onx-meth-hero__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3d5234;
  margin: 0 0 16px;
}

.onx-meth-hero__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1e261c;
  margin: 0 0 20px;
}

.onx-meth-hero__title em {
  font-style: italic;
  color: var(--onx-emerald);
}

.onx-meth-hero__lead {
  font-size: 18px;
  line-height: 1.72;
  color: #3a4435;
  margin: 0 0 14px;
  max-width: 62ch;
}

.onx-meth-hero__lead strong {
  color: #2a3228;
  font-weight: 600;
}

.onx-meth-hero__byline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2d6a6a;
  margin: 20px 0 0;
}

.onx-meth-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: var(--onx-max-width);
  margin: 0 auto;
  padding: 0 28px 48px;
  background: var(--onx-canvas);
  border-bottom: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-meth-stats__item {
  flex: 1 1 160px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-meth-stats__item:last-child { border-right: none; }

.onx-meth-stats__val {
  font-family: var(--onx-font-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--onx-forest);
  line-height: 1;
  margin-bottom: 8px;
}

.onx-meth-stats__lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a7a68;
  line-height: 1.4;
}

.onx-meth-section {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}

.onx-meth-section--alt {
  background: #fafbf8;
  border-top: 1px solid rgba(58, 68, 53, 0.07);
  border-bottom: 1px solid rgba(58, 68, 53, 0.07);
}

.onx-meth-section--panel {
  background: #f4f6f0;
}

.onx-meth-section--dark {
  background: linear-gradient(168deg, #2e3a2c 0%, #1a2218 55%, #121812 100%);
  color: #f0f5ea;
}

.onx-meth-section--alt::before,
.onx-meth-section--panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(122, 138, 114, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122, 138, 114, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.onx-meth-section__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.onx-meth-section__inner--wide {
  max-width: var(--onx-max-width);
}

.onx-meth-section__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--onx-moss);
  margin: 0 0 14px;
}

.onx-meth-section--dark .onx-meth-section__kicker {
  color: #9ed4d6;
}

.onx-meth-section__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--onx-forest);
  margin: 0 0 22px;
}

.onx-meth-section--dark .onx-meth-section__title {
  color: #f0f5ea;
}

.onx-meth-section__title em {
  font-style: italic;
  color: var(--onx-emerald);
}

.onx-meth-section--dark .onx-meth-section__title em {
  color: #9ed4d6;
}

.onx-meth-prose {
  font-size: 16px;
  line-height: 1.78;
  color: #3f4a3a;
}

.onx-meth-section--dark .onx-meth-prose {
  color: rgba(220, 228, 215, 0.88);
}

.onx-meth-prose p { margin: 0 0 18px; }
.onx-meth-prose p:last-child { margin-bottom: 0; }
.onx-meth-prose strong { color: #2a3228; font-weight: 600; }
.onx-meth-section--dark .onx-meth-prose strong { color: #e8f0dc; }

.onx-meth-prose a {
  color: #2d6a6a;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 165, 168, 0.35);
  text-underline-offset: 3px;
}

.onx-meth-prose a:hover {
  color: #00a5a8;
}

.onx-meth-letter {
  margin-top: 28px;
  padding: 28px 32px;
  border-left: 3px solid rgba(0, 165, 168, 0.45);
  background: rgba(255, 255, 255, 0.55);
}

.onx-meth-letter p {
  font-size: 17px;
  line-height: 1.75;
  color: #2a3228;
  margin: 0 0 14px;
}

.onx-meth-letter p:last-child { margin-bottom: 0; }

.onx-meth-letter__sign {
  margin-top: 18px !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2d6a6a !important;
}

.onx-meth-quote {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 2px solid rgba(0, 165, 168, 0.2);
}

.onx-meth-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--onx-font-serif);
  font-size: clamp(22px, 2.8vw, 28px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
  color: #2d6a6a;
  letter-spacing: -0.02em;
}

.onx-meth-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--onx-font-sans);
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a7a68;
}

.onx-meth-disclaimer {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(45, 106, 106, 0.08);
  border: 1px solid rgba(0, 165, 168, 0.2);
  font-size: 14px;
  line-height: 1.65;
  color: #3a4435;
}

.onx-meth-disclaimer a {
  color: #2d6a6a;
  font-weight: 600;
}

.onx-meth-principles {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.onx-meth-principles__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-principles__item:last-child {
  border-bottom: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-principles__n {
  font-family: var(--onx-font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 165, 168, 0.45);
  padding-top: 2px;
}

.onx-meth-principles__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.28;
  color: #1e261c;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.onx-meth-principles__text {
  font-size: 16px;
  line-height: 1.72;
  color: #3a4435;
  margin: 0 0 10px;
}

.onx-meth-principles__cite {
  font-size: 12px;
  font-style: italic;
  color: #6a7a68;
  margin: 0;
  letter-spacing: 0.02em;
}

.onx-meth-seq {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  position: relative;
}

.onx-meth-seq::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 165, 168, 0.5), rgba(0, 165, 168, 0.12));
}

.onx-meth-seq__step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px 24px;
  padding: 0 0 32px;
  position: relative;
}

.onx-meth-seq__step:last-child { padding-bottom: 0; }

.onx-meth-seq__marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f5ea;
  border: 2px solid rgba(0, 165, 168, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--onx-font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #2d6a6a;
  box-shadow: 0 0 16px rgba(0, 165, 168, 0.15);
  position: relative;
  z-index: 1;
}

.onx-meth-seq__title {
  font-family: var(--onx-font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--onx-forest);
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
}

.onx-meth-seq__text {
  font-size: 16px;
  line-height: 1.7;
  color: #3a4435;
  margin: 0;
}

.onx-meth-output {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border: 1px solid rgba(58, 68, 53, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.onx-meth-output__col {
  padding: 24px 22px;
  border-right: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-output__col:last-child { border-right: none; }

.onx-meth-output__tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2d6a6a;
  margin-bottom: 10px;
}

.onx-meth-output__desc {
  font-size: 14px;
  line-height: 1.65;
  color: #3a4435;
  margin: 0;
}

.onx-meth-timeline {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-timeline__item {
  padding: 24px 18px 0;
  border-right: 1px solid rgba(58, 68, 53, 0.08);
  position: relative;
}

.onx-meth-timeline__item:last-child { border-right: none; }

.onx-meth-timeline__item::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00a5a8;
  box-shadow: 0 0 10px rgba(0, 165, 168, 0.45);
}

.onx-meth-timeline__year {
  font-family: var(--onx-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: rgba(0, 165, 168, 0.55);
  margin-bottom: 8px;
  line-height: 1;
}

.onx-meth-timeline__title {
  font-size: 13px;
  font-weight: 700;
  color: #1e261c;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.onx-meth-timeline__text {
  font-size: 13px;
  line-height: 1.6;
  color: #5a6454;
  margin: 0;
}

.onx-meth-books {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 2px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-books__entry {
  padding: 22px 24px 22px 0;
  border-bottom: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-meth-books__entry:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid rgba(58, 68, 53, 0.08);
}

.onx-meth-books__entry:nth-child(even) {
  padding-left: 28px;
}

.onx-meth-books__title {
  font-family: var(--onx-font-serif);
  font-size: 17px;
  font-weight: 600;
  color: #1e261c;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.onx-meth-books__author {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6a6a;
  margin: 0 0 10px;
}

.onx-meth-books__changed {
  font-size: 14px;
  line-height: 1.65;
  color: #3a4435;
  margin: 0;
}

.onx-meth-books__note {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #5a6454;
  font-style: italic;
}

.onx-meth-chrono {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(58, 68, 53, 0.1);
  align-items: start;
}

.onx-meth-chrono__stats {
  display: flex;
  gap: 24px;
}

.onx-meth-chrono__stat-val {
  font-family: var(--onx-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--onx-emerald);
  line-height: 1;
  margin-bottom: 4px;
}

.onx-meth-chrono__stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #6a7a68;
  line-height: 1.35;
}

.onx-meth-chrono__cite {
  font-size: 13px;
  line-height: 1.6;
  color: #5a6454;
  margin: 0;
}

.onx-meth-chrono__cite a {
  color: #2d6a6a;
  font-weight: 600;
}

.onx-meth-limits {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-limits ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.onx-meth-limits li {
  font-size: 15px;
  line-height: 1.68;
  color: #3a4435;
  padding: 10px 0 10px 18px;
  position: relative;
  border-bottom: 1px solid rgba(58, 68, 53, 0.06);
}

.onx-meth-limits li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #6a7a88;
  font-weight: 700;
}

.onx-meth-limits__close {
  margin-top: 20px;
  font-family: var(--onx-font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: #2d6a6a;
  line-height: 1.4;
}

.onx-meth-cta {
  text-align: center;
  padding: 56px 28px 64px;
}

.onx-meth-cta__title {
  font-family: var(--onx-font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: #f0f5ea;
}

.onx-meth-cta__title em {
  font-style: italic;
  color: #9ed4d6;
}

.onx-meth-cta__sub {
  font-size: 13px;
  color: rgba(220, 228, 215, 0.8);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

.onx-meth-cta .btn--light {
  display: inline-block;
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a2218;
  background: #cfedaf;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.onx-meth-cta .btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  color: #1a2218;
}

.onx-meth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(58, 68, 53, 0.1);
}

.onx-meth-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d6a6a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 165, 168, 0.3);
}

.onx-meth-links a:hover {
  color: #00a5a8;
  border-bottom-color: rgba(0, 165, 168, 0.6);
}

@media (max-width: 960px) {
  .onx-meth-timeline {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .onx-meth-timeline__item {
    border-right: none;
    border-top: 2px solid rgba(58, 68, 53, 0.1);
    padding: 24px 0 0 28px;
  }

  .onx-meth-timeline__item::before {
    left: 0;
    top: 28px;
  }

  .onx-meth-output {
    grid-template-columns: 1fr;
  }

  .onx-meth-output__col {
    border-right: none;
    border-bottom: 1px solid rgba(58, 68, 53, 0.1);
  }

  .onx-meth-output__col:last-child { border-bottom: none; }

  .onx-meth-books {
    grid-template-columns: 1fr;
  }

  .onx-meth-books__entry:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .onx-meth-books__entry:nth-child(even) {
    padding-left: 0;
  }

  .onx-meth-chrono {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .onx-meth-stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(58, 68, 53, 0.08);
    flex: 1 1 100%;
  }

  .onx-meth-stats__item:last-child { border-bottom: none; }

  .onx-meth-principles__item,
  .onx-meth-seq__step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .onx-meth-seq::before { display: none; }
}

@media (max-width: 560px) {
  .onx-meth-hero { padding: 48px 0 40px; }
  .onx-meth-section { padding: 48px 0 56px; }
  .onx-meth-section__inner { padding: 0 18px; }
  .onx-meth-hero__inner { padding: 0 18px; }
  .onx-meth-letter { padding: 20px 18px; }
}
