.opn-hero {
  padding-bottom: 54px;
}

.opn-hero .article-title-hero {
  max-width: 1020px;
}

.opn-hero .article-sub {
  max-width: 800px;
}

.opn-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(980px, calc(100% - 48px));
  margin: 48px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 22px 65px rgba(31,45,37,.08);
  overflow: hidden;
}

.opn-hero-stat {
  min-height: 128px;
  padding: 24px 18px;
  text-align: left;
}

.opn-hero-stat + .opn-hero-stat {
  border-left: 1px solid var(--line);
}

.opn-hero-stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 650;
  line-height: .95;
  letter-spacing: -.03em;
}

.opn-hero-stat span {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.opn-article {
  width: min(820px, 100%);
}

.opn-lead {
  color: var(--navy);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 350;
  line-height: 1.55;
}

.opn-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--vivid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.opn-figure {
  position: relative;
  width: min(1080px, calc(100vw - 48px));
  margin: 54px 0 62px 50%;
  padding: 32px;
  translate: -50% 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(31,45,37,.07);
}

.opn-figure-dark {
  border-color: rgba(255,255,255,.08);
  background: #152017;
  color: var(--white);
}

.opn-figure-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.opn-figure-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}

.opn-figure-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.opn-figure-dark .opn-kicker { color: var(--sand); }
.opn-figure-dark .opn-figure-head h3 { color: #fff; }
.opn-figure-dark .opn-figure-head p { color: rgba(249,247,244,.62); }

.opn-method {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 52px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

.opn-method-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}

.opn-method-card strong {
  display: block;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

.opn-method-card b {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 16px;
}

.opn-method-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.opn-method-arrow {
  display: grid;
  place-items: center;
  color: var(--sand);
  font-size: 32px;
}

.opn-scale-bars {
  display: grid;
  gap: 11px;
}

.opn-scale-row {
  display: grid;
  grid-template-columns: 170px minmax(160px, 1fr) 82px;
  gap: 15px;
  align-items: center;
  padding: 8px 0;
}

.opn-scale-label strong,
.opn-scale-label span { display: block; }
.opn-scale-label strong { color: var(--navy); font-size: 14px; }
.opn-scale-label span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.opn-scale-track { height: 18px; border-radius: 3px; background: #EEEAE3; overflow: hidden; }
.opn-scale-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sand), var(--vivid));
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
.is-visible .opn-scale-fill { width: var(--bar); }
.opn-scale-value { color: var(--navy); font-size: 15px; font-weight: 700; text-align: right; }
.opn-scale-axis { display: grid; grid-template-columns: 170px 1fr 82px; gap: 15px; color: var(--muted); font-size: 11px; }
.opn-scale-axis div { display: flex; justify-content: space-between; }

.opn-composition {
  display: flex;
  min-height: 112px;
  border-radius: 9px;
  overflow: hidden;
}

.opn-composition-part {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 44px;
  padding: 15px 13px;
  color: #fff;
  opacity: .25;
  transform: scaleY(.25);
  transform-origin: bottom;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.is-visible .opn-composition-part { opacity: 1; transform: scaleY(1); }
.opn-composition-part:nth-child(1) { background: #24382C; }
.opn-composition-part:nth-child(2) { background: #58705A; transition-delay: .08s; }
.opn-composition-part:nth-child(3) { background: #8B9A74; transition-delay: .16s; }
.opn-composition-part:nth-child(4) { background: #B59C76; transition-delay: .24s; }
.opn-composition-part:nth-child(5) { background: #D8CAB5; color: var(--navy); transition-delay: .32s; }
.opn-composition-part:nth-child(6) { background: #EAE4D8; color: var(--navy); transition-delay: .4s; }
.opn-composition-part b { font-size: clamp(17px, 2.3vw, 27px); line-height: 1; }
.opn-composition-part span { margin-top: 7px; font-size: 11px; line-height: 1.2; }

.opn-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.opn-legend span { display: inline-flex; align-items: center; gap: 7px; }
.opn-legend i { width: 9px; height: 9px; border-radius: 2px; }

.opn-bars { display: grid; gap: 17px; }
.opn-bar-row { display: grid; grid-template-columns: minmax(190px, .95fr) minmax(220px, 1.4fr) 58px; gap: 16px; align-items: center; }
.opn-bar-row span { color: rgba(249,247,244,.75); font-size: 13px; line-height: 1.3; }
.opn-bar-track { height: 12px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.opn-bar-fill { display: block; width: 0; height: 100%; background: var(--sand); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.is-visible .opn-bar-fill { width: var(--bar); }
.opn-bar-row b { color: #fff; font-size: 15px; text-align: right; }
.opn-chart-note { margin: 24px 0 0 !important; color: rgba(249,247,244,.48) !important; font-size: 12px !important; line-height: 1.5 !important; }

.opn-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.opn-topic-card { padding: 22px; border-radius: 9px; background: #F5F2EC; }
.opn-topic-card > span { color: var(--vivid); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.opn-topic-card strong { display: block; margin-top: 11px; color: var(--navy); font-size: 32px; line-height: 1; }
.opn-topic-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.opn-topic-path { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.opn-topic-path i { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font-size: 10px; font-style: normal; }

.opn-layers {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: stretch;
  gap: 12px;
}
.opn-layer { position: relative; min-height: 210px; padding: 23px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.04); overflow: hidden; }
.opn-layer::before { content: ''; position: absolute; inset: auto 0 0; height: var(--fill); background: linear-gradient(180deg, rgba(196,168,130,.06), rgba(196,168,130,.22)); transform: translateY(100%); transition: transform 1.1s ease; }
.is-visible .opn-layer::before { transform: translateY(0); }
.opn-layer > * { position: relative; z-index: 1; }
.opn-layer span { color: var(--sand); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.opn-layer strong { display: block; margin-top: 11px; color: #fff; font-size: 24px; line-height: 1.1; }
.opn-layer p { margin: 12px 0 0; color: rgba(249,247,244,.62); font-size: 13px; line-height: 1.5; }
.opn-layer-arrow { display: grid; place-items: center; color: rgba(249,247,244,.35); font-size: 28px; }

.opn-sensitivity {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.opn-sensitivity table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.opn-sensitivity th, .opn-sensitivity td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.opn-sensitivity th:first-child, .opn-sensitivity td:first-child { text-align: left; white-space: normal; }
.opn-sensitivity thead th { background: #F1ECE4; color: var(--navy); }
.opn-sensitivity tbody tr:last-child td { border-bottom: 0; }
.opn-sensitivity td:last-child { color: var(--navy); font-weight: 700; background: rgba(111,128,88,.08); }

.opn-principles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 30px 0; padding: 0 !important; list-style: none; }
.opn-principles li { margin: 0 !important; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.opn-principles b { display: block; color: var(--navy); font-size: 16px; }
.opn-principles span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.opn-source-note { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }

[data-opn-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-opn-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 780px) {
  .opn-hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .opn-hero-stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .opn-hero-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .opn-figure { width: 100%; margin: 42px 0 50px; padding: 22px; translate: none; }
  .opn-figure-head { grid-template-columns: 1fr; gap: 12px; }
  .opn-method { grid-template-columns: 1fr; }
  .opn-method-arrow { transform: rotate(90deg); }
  .opn-scale-row { grid-template-columns: 120px minmax(100px,1fr) 62px; gap: 10px; }
  .opn-scale-axis { grid-template-columns: 120px 1fr 62px; gap: 10px; }
  .opn-composition { flex-direction: column; }
  .opn-composition-part { min-height: 68px; width: 100% !important; }
  .opn-bar-row { grid-template-columns: 1fr 48px; gap: 8px; }
  .opn-bar-track { grid-column: 1 / -1; grid-row: 2; }
  .opn-topic-grid, .opn-principles { grid-template-columns: 1fr; }
  .opn-layers { grid-template-columns: 1fr; }
  .opn-layer-arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .article-hero::before { animation: none; }
  [data-opn-reveal] { opacity: 1; transform: none; transition: none; }
  .opn-scale-fill, .opn-bar-fill { transition: none; }
  .opn-scale-fill, .opn-bar-fill { width: var(--bar); }
  .opn-composition-part { opacity: 1; transform: none; transition: none; }
  .opn-layer::before { transform: none; transition: none; }
}
