.credibility-study {
  background: var(--paper-soft, #f7f8f7);
}

.credibility-variant {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.credibility-heading {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  column-gap: 16px;
  align-items: start;
  padding: 46px clamp(28px, 4.4vw, 64px) 28px;
}

.credibility-heading p,
.credibility-heading span,
.credibility-variant em,
.authority-seam span,
.authority-seam p,
.operating-sentence__limit {
  font-family: var(--body, "Atkinson Hyperlegible Next", sans-serif);
}

.credibility-heading p {
  grid-column: 1 / 4;
  margin: 7px 0 0;
  color: var(--ink-muted, #53616a);
  font-size: 13px;
  font-weight: 600;
}

.credibility-heading h2 {
  grid-column: 5 / 13;
  margin: 0;
  font-family: var(--display, "Fira Sans Condensed", sans-serif);
  font-size: clamp(42px, 3.35vw, 50px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.97;
  text-transform: none;
  text-wrap: balance;
}

.credibility-heading > span {
  grid-column: 14 / 17;
  max-width: 22ch;
  margin-top: 7px;
  color: var(--ink-muted, #53616a);
  font-size: 13px;
  line-height: 1.4;
}

/* A — Authority seam */

.credibility-seam {
  background: #edf2ef;
}

.authority-seam {
  position: absolute;
  right: clamp(28px, 4.4vw, 64px);
  bottom: 0;
  left: clamp(28px, 4.4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 54px minmax(320px, 0.85fr);
  min-height: 206px;
  border-top: 1px solid #bcc8c4;
  background: var(--paper, #fff);
}

.authority-seam__system,
.authority-seam__human {
  display: grid;
  align-content: center;
  grid-template-columns: minmax(130px, 0.55fr) minmax(260px, 1fr);
  column-gap: 32px;
  padding: 30px 32px;
}

.authority-seam__system > span,
.authority-seam__human > span {
  grid-row: 1 / 3;
  color: var(--ink-muted, #53616a);
  font-size: 12px;
  font-weight: 600;
}

.authority-seam strong {
  font-family: var(--display, "Fira Sans Condensed", sans-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.authority-seam p {
  margin: 12px 0 0;
  color: var(--ink-muted, #53616a);
  font-size: 13px;
}

.authority-seam__boundary {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--signal, #e7451d);
  background: #edf2ef;
}

.authority-seam__boundary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--signal, #e7451d);
  transform: translateX(-50%);
}

.authority-seam__boundary span {
  position: relative;
  z-index: 1;
  padding: 8px 4px;
  writing-mode: vertical-rl;
  color: var(--signal, #e7451d);
  background: #edf2ef;
  font-size: 11px;
  font-weight: 600;
}

.authority-seam__human {
  grid-template-columns: 110px 1fr;
  color: #fff;
  background: #2e6656;
}

.authority-seam__human > span,
.authority-seam__human p {
  color: #d3dfdb;
}

/* B — Operating sentence */

.credibility-sentence {
  color: #fff;
  background: var(--navy-dark, #002c35);
}

.credibility-sentence .credibility-heading p,
.credibility-sentence .credibility-heading > span {
  color: #adc1bd;
}

.operating-sentence {
  max-width: 1240px;
  margin: 4px auto 0;
  padding: 0 64px;
  font-family: var(--display, "Fira Sans Condensed", sans-serif);
  font-size: clamp(31px, 2.75vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.operating-sentence strong {
  color: #cfe0db;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--signal, #e7451d);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.operating-sentence__limit {
  position: absolute;
  right: 64px;
  bottom: 32px;
  left: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  color: #adc1bd;
  font-size: 12px;
  font-weight: 500;
}

.operating-sentence__limit i {
  position: relative;
  height: 1px;
  background: #708d87;
}

.operating-sentence__limit i::after {
  content: "";
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 68%;
  width: 3px;
  background: var(--signal, #e7451d);
}

/* C — Custody register */

.credibility-register {
  background: #dce4e1;
}

.custody-register {
  position: absolute;
  right: clamp(28px, 4.4vw, 64px);
  bottom: 0;
  left: clamp(28px, 4.4vw, 64px);
  display: grid;
  grid-template-columns:
    170px
    minmax(270px, 1.45fr)
    minmax(215px, 1fr)
    58px
    minmax(270px, 1.15fr);
  min-height: 212px;
  border-top: 4px solid var(--navy-dark, #002c35);
  background: var(--paper, #fff);
}

.custody-register > div:not(.custody-register__boundary) {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 24px 24px;
  border: 0;
}

.custody-register::before {
  content: none;
}

.custody-register span,
.custody-register em {
  color: var(--ink-muted, #53616a);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.custody-register strong {
  max-width: 20ch;
  font-family: var(--display, "Fira Sans Condensed", sans-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.custody-register__identity strong {
  font-size: 22px;
}

.custody-register > .custody-register__identity {
  grid-column: 1;
}

.custody-register > .custody-register__evidence {
  grid-column: 2;
}

.custody-register > .custody-register__owner {
  grid-column: 3;
}

.custody-register__boundary {
  position: relative;
  z-index: 3;
  grid-column: 4;
  display: grid;
  place-items: center;
  color: var(--signal, #e7451d);
  background: #edf2ef;
}

.custody-register__boundary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--signal, #e7451d);
  transform: translateX(-50%);
}

.custody-register__boundary span {
  position: relative;
  z-index: 1;
  padding: 8px 5px;
  writing-mode: vertical-rl;
  color: var(--signal, #e7451d);
  background: #edf2ef;
  font-weight: 600;
  transform: rotate(180deg);
}

.custody-register > div.custody-register__human {
  position: relative;
  grid-column: 5;
  padding: 26px 28px 24px;
  border-right: 0;
  color: #fff;
  background: #2e6656;
}

.custody-register__human span,
.custody-register__human em {
  color: #d3dfdb;
}

@media (prefers-reduced-motion: reduce) {
  .credibility-variant *,
  .credibility-variant *::before,
  .credibility-variant *::after {
    transition: none !important;
    animation: none !important;
  }
}
