/* Approved magazine animation, with a linked static cover fallback. */
.orian-perspective {
  padding-top: clamp(56px, 6vw, 96px);
  scroll-margin-top: 110px;
}

.perspective-feature {
  display: grid;
  grid-template-columns: minmax(0, 59%) minmax(0, 1fr);
  max-width: 1250px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f7f7;
}

.perspective-feature__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 35px 0;
  background: #e7ebeb;
}

.perspective-feature__document {
  position: relative;
  display: block;
  width: 100%;
  height: calc(520px * 1.05);
  overflow: hidden;
  isolation: isolate;
  color: inherit;
}

.magazine-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 51.6%;
  transform: translate(-50%, -50%) matrix(.994522, .099960, -.104528, .951057, 0, 0);
  box-shadow: 0 1px 0 #d2d8d6, 0 2px 0 #fff, 0 10px 20px #1d1f1f20;
  border: 1px solid #f6f6f1;
  transition: opacity .3s;
}

.magazine-fallback::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 50% / 2px;
  background: linear-gradient(90deg, #a4aaa3 0%, #f7f7f1 45%, #eceee8 80%, #cbd0c9 100%);
}

#book-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .4s;
}

.perspective-feature__visual.is-ready #book-canvas { opacity: 1; }
.perspective-feature__visual.is-ready .magazine-fallback { opacity: 0; visibility: hidden; }

@media (min-width: 1400px) {
  .perspective-feature__visual { padding-block: 30px; }
  .perspective-feature__document { height: calc(560px * 1.05); }
}

@media (max-width: 900px) and (min-width: 768px) {
  .perspective-feature__document { height: calc(480px * 1.05); }
}

.perspective-feature__image {
  display: block;
  width: 100%;
  height: auto;
}

.perspective-feature__copy {
  min-width: 0;
  container-type: inline-size;
  align-self: center;
  padding: clamp(32px, 4vw, 60px);
}

.perspective-feature__copy .section-kicker {
  margin: 0 0 22px;
}

.perspective-feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.perspective-feature__subtitle {
  margin: 24px 0 12px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
}

.perspective-feature__description {
  margin: 0;
  max-width: 520px;
  color: #4a5551;
  font-size: 16px;
  line-height: 1.7;
}

.perspective-feature__link.btn {
  margin-top: 28px;
  min-height: 48px;
  height: auto;
  padding: 16px 24px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .08em;
  white-space: normal;
}

.perspective-feature__link:focus-visible,
.perspective-feature__document:focus-visible {
  outline: 3px solid #0353a4;
  outline-offset: 5px;
}

.perspective-feature__link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

@media (max-width: 767px) {
  .perspective-feature { grid-template-columns: 1fr; }
  .perspective-feature__visual { padding: 15px 0; }
  .perspective-feature__document {
    height: calc(380px * 1.05);
  }
  .perspective-feature__copy { padding: 28px 24px 32px; }
  .perspective-feature__title { font-size: clamp(36px, 7.5vw, 48px); }
  .perspective-feature__copy .section-kicker { font-size: 11px; }
}

@container (max-width: 280px) {
  .perspective-feature__title { font-size: 36px; }
  .perspective-feature__subtitle { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  #book-canvas, .magazine-fallback { transition: none; }
}
