/*
Theme Name: SJH Studios Theme
Theme URI: http://plm.local/
Author: SJH Studios
Description: A custom editorial WordPress theme for Monarchy & Democracy.
Version: 1.0.47
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sjh-studios-theme
*/

:root {
  --book-red: #a50e3c;
  --book-gold: #807451;
  --paper: #f4f2ee;
  --ink: #1a1a1a;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cinematic: cubic-bezier(0.7, 0, 0.1, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-nav {
  top: 32px;
}

body.admin-bar .sjh-loader {
  top: 32px;
  height: calc(100dvh - 32px);
}

::selection {
  background: var(--book-red);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.sjh-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
}

.loader-full-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
}

.loader-wordmark {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto clamp(5.5rem, 9vw, 9rem) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 1.3vw, 1.2rem);
  white-space: nowrap;
  font-size: clamp(1.5rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  opacity: 0;
}

.loader-start,
.loader-end {
  position: relative;
  z-index: 4;
  display: block;
  overflow: hidden;
  line-height: 0.9;
  color: var(--ink);
  will-change: transform, opacity;
}

.loader-end {
  padding-left: 0;
}

.loader-box {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  will-change: transform, opacity;
}

.loader-image-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  height: 1.1em;
}

.growing-image {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(128, 116, 81, 0.25);
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.16);
}

.loader-image-stack {
  position: absolute;
  width: 100%;
  min-width: 1em;
  height: 100%;
}

.loader-image-stack img,
.hero-bg img,
.archive-card img,
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader-wordmark.is-expanding .loader-start,
.loader-wordmark.is-expanding .loader-end {
  z-index: 1;
}

.loader-extra {
  z-index: 2;
  will-change: opacity, transform;
}

.loader-base {
  z-index: 1;
}

.cursor-dot,
.cursor-outline {
  display: none;
}

@media (pointer: fine) {
  body.sjh-cursor-enabled,
  body.sjh-cursor-enabled a,
  body.sjh-cursor-enabled button {
    cursor: none;
  }

  .cursor-dot,
  .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10070;
    display: block;
    border-radius: 999px;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    box-shadow: 0 0 0 2px var(--book-red), 0 0 18px rgba(255, 255, 255, 0.75);
    transition: opacity 0.3s ease;
  }

  .cursor-outline {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 0 1px rgba(165, 14, 60, 0.5), 0 0 24px rgba(255, 255, 255, 0.35);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--white);
  font-size: clamp(0.62rem, 1vw, 0.75rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
  transform: translateY(-110%);
  transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-brand strong {
  font-weight: 700;
}

.nav-brand span {
  color: rgba(255, 255, 255, 0.7);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.6vw, 2.25rem);
}

.nav-links a,
.footer-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--book-gold);
}

.mobile-menu-button {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8rem clamp(1rem, 4vw, 3rem) 5rem;
  background: var(--ink);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  transform: scale(1.04);
  transform-origin: 50% 50%;
}

.hero-overlay {
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(to bottom, rgba(26, 26, 26, 0.86), rgba(26, 26, 26, 0.45), var(--ink)),
    linear-gradient(90deg, rgba(26, 26, 26, 0.62), transparent 52%, rgba(26, 26, 26, 0.32));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(90vw, 1500px);
  margin: 0 auto;
  flex-direction: column;
  gap: clamp(0.25rem, 1vw, 1rem);
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.4));
}

.hero-line {
  overflow: hidden;
  padding-bottom: clamp(0.75rem, 1.25vw, 1.75rem);
  margin-bottom: calc(clamp(0.75rem, 1.25vw, 1.75rem) * -1);
}

body.hero-ready .hero-line,
.no-js .hero-line {
  overflow: visible;
}

.hero-line-offset {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-left: clamp(1rem, 10vw, 10rem);
}

.hero-title,
.hero-amp {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  transform: translateY(110%);
}

.hero-title {
  color: var(--paper);
  font-size: clamp(3.5rem, 12vw, 14rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.hero-amp {
  color: var(--book-gold);
  font-size: clamp(3rem, 7vw, 8rem);
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  position: absolute;
  right: clamp(1.5rem, 6vw, 5rem);
  bottom: clamp(2rem, 6vw, 5rem);
  z-index: 3;
  width: min(90vw, 390px);
  text-align: right;
  opacity: 0;
  transform: translateY(2rem);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.hero-desc p {
  margin: 0 0 1rem;
  color: rgba(244, 242, 238, 0.82);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 300;
  line-height: 1.75;
}

.hero-rule {
  display: block;
  width: 3rem;
  height: 1px;
  margin-left: auto;
  background: var(--book-gold);
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.overview {
  border-top: 1px solid rgba(244, 242, 238, 0.1);
  background: var(--ink);
  color: var(--paper);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3rem, 5vw, 4rem);
  align-items: center;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.overview-copy {
  position: relative;
  z-index: 2;
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--book-gold);
  font-size: clamp(0.62rem, 1vw, 0.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.overview-copy p:not(.eyebrow) {
  max-width: 48rem;
  margin: 0;
  color: rgba(244, 242, 238, 0.7);
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
}

.overview-compass {
  position: relative;
  z-index: 1;
  grid-column: 10 / span 3;
  display: flex;
  min-height: min(52vh, 560px);
  align-items: center;
  justify-content: center;
  margin: 0;
  border-left: 1px solid rgba(128, 116, 81, 0.45);
  border-right: 1px solid rgba(244, 242, 238, 0.08);
  color: rgba(244, 242, 238, 0.72);
}

.overview-compass::before,
.overview-compass::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(3rem, 8vw, 7rem);
  background: rgba(128, 116, 81, 0.42);
  pointer-events: none;
}

.overview-compass::before {
  top: 0;
}

.overview-compass::after {
  bottom: 0;
}

.overview-mark {
  position: absolute;
  color: rgba(128, 116, 81, 0.16);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(9rem, 18vw, 18rem);
  font-style: italic;
  line-height: 0.8;
  transform: translateY(-2%);
}

.overview-compass ul {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.overview-compass li {
  color: rgba(244, 242, 238, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.book-stage {
  position: relative;
  grid-column: span 7;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(70vh, 740px);
  min-height: 460px;
}

.book-card {
  position: absolute;
  display: flex;
  width: min(60%, 430px);
  height: 80%;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(128, 116, 81, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.book-card:first-child {
  transform: rotate(-6deg);
}

.book-card:last-child {
  border-color: rgba(244, 242, 238, 0.2);
  transform: rotate(3deg);
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent 65%);
}

.book-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 26, 26, 0.2);
  transition: background-color 0.5s ease;
}

.book-card:hover::after {
  background: transparent;
}

.book-card img {
  transition: transform 1s var(--ease);
}

.book-card:hover img {
  transform: scale(1.05);
}

.book-meta,
.book-title {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.book-meta {
  color: var(--book-gold);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.book-title {
  align-self: center;
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  text-align: center;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.archive {
  background: var(--paper);
  color: var(--ink);
}

.archive-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(100%, 1600px);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  gap: 1.5rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.archive-header .eyebrow {
  max-width: 220px;
  color: var(--book-red);
  text-align: right;
}

.archive-intro {
  max-width: 42rem;
  margin: 0;
  color: rgba(244, 242, 238, 0.72);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.5rem);
  width: min(100%, 1600px);
  margin: 0 auto;
}

.archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ink);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  opacity: 0;
  transform: translateY(2rem);
  transition: border-color 0.5s ease, transform 0.5s var(--ease), box-shadow 0.5s ease;
  cursor: pointer;
}

.archive-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.archive-card:hover {
  border-color: var(--book-gold);
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.22);
}

.archive-card:focus-visible {
  outline: 2px solid var(--book-red);
  outline-offset: 4px;
}

.archive-card img {
  z-index: 0;
  opacity: 0.9;
  transition: transform 1s var(--ease);
}

.archive-card:hover img {
  transform: scale(1.05);
}

.archive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.64) 45%, rgba(26, 26, 26, 0.16)),
    linear-gradient(135deg, rgba(26, 26, 26, 0.62), transparent 55%);
  pointer-events: none;
}

.archive-card::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  z-index: 2;
  border: 1px solid rgba(244, 242, 238, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.archive-card:hover::before,
.archive-card:focus-visible::before {
  opacity: 1;
}

.archive-content {
  position: relative;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}

.archive-card:hover .archive-content {
  transform: translateY(-0.5rem);
}

.archive-meta {
  display: block;
  margin-bottom: 0.85rem;
  color: rgba(244, 242, 238, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-card h3 {
  margin: 0;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 1.55vw, 2rem);
  font-weight: 500;
  line-height: 1.02;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.archive-link {
  display: inline-block;
  width: fit-content;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: max-height 0.45s ease, margin-top 0.45s ease, opacity 0.45s ease, color 0.35s ease, border-color 0.35s ease;
}

.archive-link::after {
  content: none;
}

.archive-card:hover .archive-link,
.archive-card:focus-within .archive-link {
  max-height: 2rem;
  margin-top: 1.1rem;
  border-bottom-color: var(--white);
  color: var(--white);
  opacity: 1;
}

.partner-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-feature-card {
  aspect-ratio: 1 / 1;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  padding: 0;
}

.partner-feature-grid .partner-feature-card.is-featured {
  grid-column: auto;
  grid-row: auto;
}

.partner-feature-card-link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.partner-feature-card-link:focus-visible {
  outline: 2px solid var(--book-gold);
  outline-offset: -0.5rem;
}

.partner-feature-card-link:focus-visible .archive-link {
  max-height: 2rem;
  margin-top: 1.1rem;
  border-bottom-color: var(--white);
  color: var(--white);
  opacity: 1;
}

.video-section {
  background: var(--book-red);
  color: var(--paper);
}

.partners-section {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(244, 242, 238, 0.1);
  border-bottom: 1px solid rgba(244, 242, 238, 0.1);
}

.partners-section .archive-header {
  border-bottom-color: rgba(128, 116, 81, 0.36);
}

.partners-section .section-title {
  max-width: 12ch;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: min(100%, 1400px);
  margin: 0 auto;
}

.partner-card {
  min-height: clamp(430px, 58vh, 620px);
}

.partner-overlay-link {
  position: relative;
  display: flex;
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 238, 0.18);
  padding: clamp(1rem, 2vw, 1.75rem);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(128, 116, 81, 0.08);
  transition: border-color 0.45s ease, transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.partner-overlay-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 1s var(--ease), opacity 0.5s ease;
}

.partner-overlay-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.32), rgba(26, 26, 26, 0.1));
}

.partner-overlay-link:hover img {
  opacity: 0.9;
  transform: scale(1.05);
}

.partner-overlay-link:hover {
  border-color: rgba(128, 116, 81, 0.75);
  transform: translateY(-0.35rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.partner-overlay-link > *:not(img) {
  position: relative;
  z-index: 2;
}

.partner-index {
  align-self: flex-start;
  color: var(--book-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
}

.partner-card h3 {
  margin: 0.5rem 0 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.75rem);
  font-weight: 500;
  line-height: 0.98;
}

.partner-card-action,
.text-link {
  display: inline-flex;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--book-gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.72);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  padding: clamp(4.5rem, 7vw, 6rem) clamp(0.75rem, 2vw, 1.25rem) 1.25rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.partner-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.partner-overlay-open {
  overflow: hidden;
}

body.partner-overlay-open > #primary,
body.partner-overlay-open .site-footer {
  pointer-events: none;
}

.partner-overlay-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 10001;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  border: 1px solid rgba(128, 116, 81, 0.75);
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.partner-overlay-close span {
  position: relative;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--book-red);
}

.partner-overlay-close span::before,
.partner-overlay-close span::after {
  content: "";
  position: absolute;
  width: 0.8rem;
  height: 1px;
  background: var(--paper);
}

.partner-overlay-close span::before {
  transform: rotate(45deg);
}

.partner-overlay-close span::after {
  transform: rotate(-45deg);
}

.partner-overlay-close:hover {
  border-color: var(--book-red);
  background: var(--book-red);
  color: var(--paper);
}

.partner-overlay-shell {
  width: min(100%, 1540px);
  min-height: calc(100vh - 7rem);
  max-height: calc(100vh - 5.75rem);
  margin: 0 auto;
  overflow-y: auto;
  border: 1px solid rgba(244, 242, 238, 0.26);
  border-radius: 18px 18px 0 0;
  background: var(--paper);
  box-shadow: 0 -10px 90px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(14vh) scale(0.985);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.partner-overlay-shell .partner-page {
  min-height: inherit;
}

.partner-overlay-shell .client-page {
  overflow: visible;
}

.partner-overlay-shell .client-hero {
  min-height: calc(100vh - 7rem);
}

.partner-overlay-shell .content-wrapper {
  margin-top: 0;
  border-radius: 18px 18px 0 0;
  transform: translateY(-1px);
}

.partner-overlay-shell .video-highlight {
  padding-top: clamp(1rem, 1.8vw, 1.5rem);
}

.partner-overlay-shell .partner-hero {
  min-height: min(86vh, 860px);
}

.partner-page {
  background: var(--paper);
  color: var(--ink);
}

.partner-single-body {
  background: var(--paper);
  color: var(--ink);
}

.partner-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 3rem);
  color: var(--paper);
  background: var(--ink);
}

.partner-hero img,
.partner-video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.18));
}

.partner-hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1160px);
}

.partner-back {
  display: inline-flex;
  margin-bottom: clamp(3rem, 14vw, 10rem);
  color: rgba(244, 242, 238, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-hero h1 {
  max-width: 9em;
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.partner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.partner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid var(--book-gold);
  background: var(--book-gold);
  color: var(--ink);
  padding: 0.9rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-button-secondary {
  background: rgba(244, 242, 238, 0.08);
  color: var(--paper);
  backdrop-filter: blur(12px);
}

.partner-image-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--paper);
}

.partner-image-triptych img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.partner-zigzag {
  display: grid;
  gap: clamp(5rem, 9vw, 8rem);
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.partner-zigzag-row {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.partner-zigzag-row.is-reversed .partner-zigzag-media {
  order: 2;
}

.partner-zigzag-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.partner-zigzag-copy h2,
.partner-video-copy h2 {
  margin: 0 0 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
}

.partner-zigzag-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(26, 26, 26, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}

.partner-video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}

.partner-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.partner-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.25);
  pointer-events: none;
}

.partner-video-frame video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-section {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 100vh;
  background: var(--book-red);
  color: var(--paper);
  border-top: 1px solid rgba(244, 242, 238, 0.1);
}

.film-copy p:not(.eyebrow) {
  max-width: 32rem;
  color: rgba(244, 242, 238, 0.72);
  line-height: 1.75;
}

.film-copy {
  border-left: 1px solid rgba(128, 116, 81, 0.5);
  padding-left: clamp(1rem, 2.5vw, 2rem);
}

.film-frame {
  position: relative;
  min-height: min(72vh, 780px);
  overflow: hidden;
  border: 1px solid rgba(128, 116, 81, 0.55);
  background: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.film-frame::before {
  content: "Monarchy & Democracy";
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  top: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  color: var(--book-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.film-frame.is-playing::before {
  display: none;
}

.film-poster,
.film-video,
.film-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-poster,
.film-video {
  object-fit: cover;
}

.film-shade {
  z-index: 2;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.82), rgba(26, 26, 26, 0.16));
}

.film-play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.film-video {
  z-index: 5;
  display: none;
  background: var(--ink);
}

.film-frame.is-playing .film-video {
  display: block;
}

.film-frame.is-playing .film-poster,
.film-frame.is-playing .film-shade,
.film-frame.is-playing .film-play {
  display: none;
}

.ebook-section,
.contact-section {
  background: var(--paper);
  color: var(--ink);
}

.ebook-section {
  background:
    linear-gradient(90deg, rgba(165, 14, 60, 0.08), transparent 38%),
    var(--paper);
}

.contact-section {
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.ebook-inner,
.contact-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  border-left: 1px solid rgba(128, 116, 81, 0.45);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.video-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.video-inner .eyebrow {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(128, 116, 81, 0.4);
  background: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--paper);
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26, 26, 26, 0.3);
}

.video-poster img {
  opacity: 0.8;
  transition: opacity 1s ease, transform 1s var(--ease);
}

.video-poster:hover img {
  opacity: 0.6;
  transform: scale(1.05);
}

.play-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(4rem, 8vw, 6rem);
  height: clamp(4rem, 8vw, 6rem);
  place-items: center;
  border: 1px solid rgba(128, 116, 81, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.75rem solid var(--paper);
  transition: border-left-color 0.5s ease;
}

.video-poster:hover .play-icon {
  border-color: transparent;
  background: var(--book-gold);
}

.video-poster:hover .play-icon::before {
  border-left-color: var(--ink);
}

.video-frame video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(244, 242, 238, 0.1);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  font-size: clamp(0.62rem, 1vw, 0.75rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: rgba(244, 242, 238, 0.5);
}

.footer-links {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.footer-location {
  color: var(--book-gold);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(2.5rem);
}

.no-js .sjh-loader {
  display: none;
}

.no-js .site-nav,
.no-js .hero-title,
.no-js .hero-amp,
.no-js .hero-desc,
.no-js .hero-overlay,
.no-js .fade-in-up,
.no-js .archive-card {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-copy,
  .overview-compass {
    grid-column: 1;
  }

  .overview-copy {
    max-width: 760px;
  }

  .overview-compass {
    min-height: 18rem;
    border-top: 1px solid rgba(128, 116, 81, 0.32);
    border-bottom: 1px solid rgba(244, 242, 238, 0.08);
    border-left: 0;
    border-right: 0;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-feature-grid .partner-feature-card,
  .partner-feature-grid .partner-feature-card.is-featured,
  .partner-feature-grid .partner-feature-card:nth-child(n) {
    aspect-ratio: 1 / 1;
    grid-column: auto;
    grid-row: auto;
  }

  .partners-grid,
  .partner-video-section {
    grid-template-columns: 1fr;
  }

  .partner-zigzag-row,
  .partner-zigzag-row.is-reversed {
    grid-template-columns: 1fr;
  }

  .partner-zigzag-row.is-reversed .partner-zigzag-media {
    order: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }

  body.admin-bar .sjh-loader {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

@media (max-width: 760px) {
  .site-nav {
    align-items: center;
    padding: 0.85rem 1rem;
    background: rgba(12, 12, 12, 0.48);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    transform: none !important;
  }

  .film-page-body .site-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    transform: none !important;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: grid;
    max-width: none;
    align-content: center;
    justify-items: end;
    gap: clamp(1.15rem, 4vw, 1.7rem);
    padding: 6.5rem 1.25rem 2rem;
    background: rgba(14, 14, 14, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    text-align: right;
    transform: translateY(-0.65rem) scale(0.985);
    transition: opacity 0.34s ease, transform 0.44s var(--ease), visibility 0.34s ease;
    visibility: hidden;
  }

  .nav-brand,
  .mobile-menu-button {
    position: relative;
    z-index: 2;
  }

  .nav-links a {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 12vw, 4.8rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.95;
    opacity: 0;
    text-transform: none;
    transform: translateY(1rem);
    transition: color 0.25s ease, opacity 0.36s ease, transform 0.5s var(--ease);
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.14em;
    padding: 0.62rem 0.82rem;
    text-transform: uppercase;
  }

  .mobile-menu-icon {
    position: relative;
    display: inline-grid;
    width: 1.15rem;
    height: 0.72rem;
    align-items: center;
  }

  .mobile-menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.34s var(--ease), top 0.34s var(--ease);
  }

  .mobile-menu-icon span:first-child {
    top: 0;
  }

  .mobile-menu-icon span:last-child {
    top: 100%;
  }

  .site-nav.is-mobile-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-nav.is-mobile-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav.is-mobile-open .nav-links a:nth-child(1) {
    transition-delay: 0.06s;
  }

  .site-nav.is-mobile-open .nav-links a:nth-child(2) {
    transition-delay: 0.12s;
  }

  .site-nav.is-mobile-open .nav-links a:nth-child(3) {
    transition-delay: 0.18s;
  }

  .site-nav.is-mobile-open .nav-links a:nth-child(4) {
    transition-delay: 0.24s;
  }

  .site-nav.is-mobile-open .mobile-menu-icon span:first-child {
    top: 50%;
    transform: rotate(42deg);
  }

  .site-nav.is-mobile-open .mobile-menu-icon span:last-child {
    top: 50%;
    transform: rotate(-42deg);
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: 92vh;
    padding-top: 8rem;
  }

  .hero-inner {
    width: 95vw;
  }

  .hero-line-offset {
    gap: 1rem;
    margin-left: 1rem;
  }

  .hero-desc {
    right: 1.5rem;
    bottom: 2rem;
    width: min(78vw, 300px);
  }

  .archive-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-header .eyebrow {
    text-align: left;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .partner-feature-grid {
    grid-template-columns: 1fr;
  }

  .archive-card,
  .archive-card.is-featured,
  .partner-feature-grid .partner-feature-card,
  .partner-feature-grid .partner-feature-card.is-featured,
  .partner-feature-grid .partner-feature-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .partner-feature-grid .partner-feature-card {
    aspect-ratio: 1 / 1;
  }

  .book-card {
    width: 70%;
  }

  .partners-grid,
  .partner-image-triptych {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 420px;
  }

  .partner-overlay-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .partner-hero {
    min-height: 84vh;
  }

  .partner-back {
    margin-bottom: 7rem;
  }

  .film-section {
    grid-template-columns: 1fr;
  }

  .film-frame {
    min-height: 58vh;
  }
}

.client-feature-page {
  background: var(--paper);
  color: var(--ink);
}

.client-feature-hero .partner-hero-content {
  max-width: 1180px;
}

.client-feature-sell {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  color: rgba(244, 242, 238, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.film-client-card h3,
.film-page-copy h1,
.film-page-main-meta strong,
.film-rail-card strong {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
}

.client-feature-body p,
.partner-video-copy p:not(.eyebrow),
.film-client-header p:not(.eyebrow),
.film-client-card-body p:not(.eyebrow),
.film-page-copy p {
  color: rgba(26, 26, 26, 0.68);
  line-height: 1.75;
}

.client-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 9vw, 8rem);
}

.client-image-pair figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.client-image-pair figure:first-child {
  transform: translateY(clamp(2rem, 5vw, 4rem));
}

.client-image-pair img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.client-feature-story {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  background: #ebe7df;
}

.client-feature-body {
  display: grid;
  gap: 1.4rem;
  width: min(100%, 860px);
  margin: 0 auto;
}

.client-feature-body p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.client-video-section {
  border-top: 1px solid rgba(244, 242, 238, 0.12);
}

.client-video-section .partner-video-copy {
  max-width: 36rem;
}

.client-video-section .partner-video-copy p:not(.eyebrow) {
  color: rgba(244, 242, 238, 0.7);
}

.client-video-section .partner-video-frame {
  grid-column: 1 / -1;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.partner-video-frame video[poster] {
  display: block;
  background: var(--ink);
}

.film-page-body {
  background: var(--ink);
}

.film-page-body .site-nav {
  background: rgba(26, 26, 26, 0.78);
  backdrop-filter: blur(12px);
  transform: translateY(0);
}

@media (max-width: 760px) {
  .film-page-body .site-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    filter: none;
    transform: none !important;
  }
}

.film-page {
  background: var(--ink);
  color: var(--paper);
}

.film-page-hero {
  min-height: 100vh;
  padding: clamp(7rem, 11vw, 10rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 50% 46%, rgba(128, 116, 81, 0.18), transparent 34rem),
    radial-gradient(circle at 14% 18%, rgba(165, 14, 60, 0.28), transparent 30rem),
    linear-gradient(120deg, rgba(165, 14, 60, 0.2), transparent 42%),
    var(--ink);
}

.film-page-copy {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  width: min(100%, 1200px);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.film-page-copy h1 {
  max-width: 9.4em;
  color: var(--paper);
  font-size: clamp(4rem, 10vw, 12rem);
  letter-spacing: -0.025em;
}

.film-page-copy p:not(.eyebrow) {
  max-width: 44rem;
  color: rgba(244, 242, 238, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.film-page-board {
  display: grid;
  grid-auto-flow: row dense;
  grid-auto-rows: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: min(100%, 1500px);
  margin: 0 auto;
  align-items: stretch;
}

.film-page-main-film,
.film-rail-card,
.film-client-card-link {
  border: 1px solid rgba(244, 242, 238, 0.16);
  background: rgba(244, 242, 238, 0.045);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.film-page-main-slot {
  position: relative;
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
  z-index: 3;
  align-self: stretch;
}

.film-page-main-film {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 6px;
  border-color: rgba(128, 116, 81, 0.48);
  background: rgba(244, 242, 238, 0.06);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
  transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s var(--ease), width 0.45s var(--ease);
}

.film-page-video-frame {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.film-page-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), filter 0.45s ease;
}

.film-page-main-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.24), transparent);
  pointer-events: none;
  transform: translateY(0.45rem);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.film-page-main-overlay span {
  color: var(--book-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.film-page-main-overlay h2 {
  max-width: 11em;
  margin: 0;
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.1vw, 4rem);
  font-weight: 500;
  line-height: 0.95;
}

.film-page-main-overlay p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(244, 242, 238, 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s var(--ease);
}

.film-page-main-film:hover,
.film-page-main-film:focus-within {
  border-color: rgba(128, 116, 81, 0.82);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.56);
}

.film-page-main-film:hover video,
.film-page-main-film:focus-within video {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.film-page-main-film:hover .film-page-main-overlay,
.film-page-main-film:focus-within .film-page-main-overlay {
  transform: translateY(0);
}

.film-page-main-film:hover .film-page-main-overlay p,
.film-page-main-film:focus-within .film-page-main-overlay p {
  max-height: 2rem;
  opacity: 1;
  transform: translateY(0);
}

.film-page-main-film.is-docked {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 10030;
  width: min(380px, calc(100vw - 2rem));
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  animation: filmDockIn 0.48s var(--ease);
}

.film-page-main-film.is-docked .film-page-video-frame {
  height: 100%;
  min-height: 0;
}

.film-page-main-film.is-docked .film-page-main-overlay {
  opacity: 0;
}

@keyframes filmDockIn {
  from {
    opacity: 0;
    transform: translate(1rem, 1rem) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.film-page-main-meta {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: rgba(26, 26, 26, 0.72);
}

.film-page-main-meta span,
.film-rail-card span,
.film-client-card-body .eyebrow {
  color: var(--book-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.film-page-main-meta strong {
  max-width: 56rem;
  color: rgba(244, 242, 238, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.65;
}

.film-page-client-rail {
  display: contents;
}

.film-rail-card {
  position: relative;
  display: flex;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: start;
  appearance: none;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 6px;
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  padding: clamp(1rem, 2vw, 1.5rem);
  text-align: left;
}

.film-rail-card::after,
.film-client-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.16));
  pointer-events: none;
}

.film-rail-card img,
.film-client-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 0.9s var(--ease), opacity 0.45s ease;
}

.film-rail-card:hover img,
.film-client-card-link:hover .film-client-video img {
  opacity: 1;
  transform: scale(1.05);
}

.film-rail-card .play-icon,
.film-client-video .play-icon {
  position: relative;
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: auto;
}

.film-rail-card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  transform: translateY(0);
  transition: transform 0.45s var(--ease);
}

.film-rail-card strong {
  color: var(--paper);
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  line-height: 1.04;
}

.film-rail-card-content p {
  display: -webkit-box;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  color: rgba(244, 242, 238, 0.78);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s var(--ease);
}

.film-rail-card:hover .film-rail-card-content,
.film-rail-card:focus-visible .film-rail-card-content {
  transform: translateY(-0.35rem);
}

.film-rail-card:hover .film-rail-card-content p,
.film-rail-card:focus-visible .film-rail-card-content p {
  max-height: 6.6rem;
  opacity: 1;
  transform: translateY(0);
}

.film-rail-card:focus-visible {
  outline: 2px solid var(--book-gold);
  outline-offset: 4px;
}

.film-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(10, 10, 10, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.48s ease, visibility 0.48s ease;
  visibility: hidden;
}

.film-video-lightbox.is-open,
.film-video-lightbox.is-closing {
  visibility: visible;
}

.film-video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.film-video-lightbox-panel {
  position: relative;
  display: grid;
  width: var(--film-lightbox-width, min(100%, 1180px));
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  border: 1px solid rgba(244, 242, 238, 0.18);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.56);
  opacity: 0;
  transform: translateY(1.35rem) scale(0.965);
  transition: opacity 0.44s ease, transform 0.58s var(--ease);
  will-change: opacity, transform;
}

.film-video-lightbox.is-open .film-video-lightbox-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.film-video-lightbox-media {
  height: var(--film-lightbox-media-height, auto);
  min-height: 0;
  background: #000;
  opacity: 0;
  transform: translateY(0.65rem) scale(0.985);
  transition: opacity 0.45s ease 0.08s, transform 0.56s var(--ease) 0.08s;
  will-change: opacity, transform;
}

.film-video-lightbox-media iframe,
.film-video-lightbox-media video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.film-video-lightbox-caption {
  display: grid;
  gap: clamp(0.45rem, 1vw, 0.75rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 0.42s ease 0.15s, transform 0.56s var(--ease) 0.15s;
  will-change: opacity, transform;
}

.film-video-lightbox.is-open .film-video-lightbox-media,
.film-video-lightbox.is-open .film-video-lightbox-caption {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.film-video-lightbox.is-closing .film-video-lightbox-media,
.film-video-lightbox.is-closing .film-video-lightbox-caption {
  transition-delay: 0s;
}

.film-video-lightbox-caption h2 {
  margin: 0;
  color: var(--paper);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
}

.film-video-lightbox-caption p:not(.eyebrow) {
  max-width: 48rem;
  margin: 0;
  color: rgba(244, 242, 238, 0.72);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.7;
}

.film-video-lightbox-cta {
  justify-self: start;
  color: var(--book-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
}

.film-video-lightbox-cta:hover,
.film-video-lightbox-cta:focus-visible {
  color: var(--paper);
}

.film-video-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(244, 242, 238, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  padding: 0.55rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-video-lightbox-close span,
.film-video-lightbox-close span::before,
.film-video-lightbox-close span::after {
  display: block;
  width: 0.85rem;
  height: 1px;
  background: currentColor;
}

.film-video-lightbox-close span {
  position: relative;
  background: transparent;
}

.film-video-lightbox-close span::before,
.film-video-lightbox-close span::after {
  content: "";
  position: absolute;
  left: 0;
}

.film-video-lightbox-close span::before {
  transform: rotate(45deg);
}

.film-video-lightbox-close span::after {
  transform: rotate(-45deg);
}

body.film-lightbox-open {
  overflow: hidden;
}

.film-client-section {
  background: var(--paper);
  color: var(--ink);
}

.film-client-header {
  display: grid;
  gap: 1.1rem;
  width: min(100%, 1120px);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.film-client-header p:not(.eyebrow) {
  max-width: 42rem;
}

.film-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  width: min(100%, 1400px);
  margin: 0 auto;
}

.film-client-card-link {
  display: grid;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.film-client-video {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--ink);
}

.film-client-video .play-icon {
  position: absolute;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
}

.film-client-card-body {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.film-client-card h3 {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.film-client-card-body p:not(.eyebrow) {
  margin: 0;
}

.film-client-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(26, 26, 26, 0.16);
}

.film-client-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .film-page-board {
    grid-template-columns: 1fr;
  }

  .film-page-main-slot {
    grid-column: auto;
    grid-row: auto;
  }

  .film-page-main-film {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .film-page-video-frame {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .film-page-client-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 760px) {
  .client-image-pair {
    grid-template-columns: 1fr;
  }

  .client-image-pair figure:first-child {
    transform: none;
  }

  .client-feature-story,
  .film-client-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .film-page-copy h1 {
    font-size: clamp(3.25rem, 18vw, 5.5rem);
  }

  .film-page-main-film,
  .film-page-video-frame {
    aspect-ratio: 1 / 1;
  }

  .film-page-client-rail {
    display: grid;
    grid-template-columns: 1fr;
  }

  .film-rail-card {
    min-height: 0;
  }

  .film-page-main-film.is-docked {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    animation: none;
  }
}

body.client-partner-body {
  background: transparent;
  color: var(--ink);
}

.client-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: visible;
  background: transparent;
  color: var(--ink);
}

.hero-video-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--ink);
  pointer-events: none;
}

.hero-video-fixed video,
.hero-video-fixed > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-fixed video {
  z-index: 1;
}

.hero-video-fixed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 177.78vh;
  min-width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-poster-layer {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  visibility: visible;
}

.hero-video-fixed.is-video-fading .hero-poster-layer,
.hero-video-fixed.is-video-ready .hero-poster-layer {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-video-fixed.is-video-ready .hero-poster-layer {
  display: none !important;
}

.hero-video-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(15, 15, 20, 0.55);
}

.client-hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--white);
  text-align: center;
}

.client-back {
  position: absolute;
  top: clamp(1.1rem, 3vw, 2rem);
  left: clamp(1.1rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.client-back:hover {
  color: var(--white);
}

.client-page .eyebrow {
  margin: 0 0 1.2rem;
  color: var(--book-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.client-hero h1 {
  margin: 0 0 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.client-sell {
  max-width: 42rem;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
}

.client-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  padding: 0 3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.client-page .button:hover {
  background: var(--book-gold);
  color: var(--white);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.content-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -3vh;
  border-radius: 24px 24px 0 0;
  background: var(--paper);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.2);
  padding-top: 0;
}

.video-highlight {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0 5rem;
}

.video-placeholder {
  position: relative;
  width: calc(100% - 4rem);
  max-width: 1150px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: translateZ(0);
  transition: border-radius 0.7s var(--ease-cinematic), box-shadow 0.7s var(--ease-cinematic);
}

.video-container.is-playing {
  border-radius: 0;
  box-shadow: none;
  cursor: default;
}

.ui-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.video-container.is-playing .ui-layer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.ui-layer:hover .cover-img {
  opacity: 0.65;
  transform: scale(1.03);
}

.play-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.ui-layer:hover .play-icon-wrapper {
  transform: translate(-50%, -50%) scale(1.15);
}

.play-icon-wrapper svg {
  width: 30%;
  margin-left: 8%;
  fill: var(--ink);
}

.video-container video,
.video-container iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease);
}

.video-container.is-playing video,
.video-container.is-playing iframe {
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.minimize-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease);
  visibility: hidden;
}

.video-container.is-playing .minimize-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
  visibility: visible;
}

.minimize-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.minimize-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4rem 3rem 10rem;
}

.story {
  display: flex;
  flex-direction: column;
}

.story p {
  margin: 0 0 1.6rem;
  color: rgba(26, 26, 26, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

.story p:first-of-type::first-letter {
  float: left;
  color: var(--book-red);
  padding-top: 0.3rem;
  padding-right: 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 0.8;
}

.story .text-link {
  width: fit-content;
  margin-top: auto;
  border-bottom: 2px solid var(--book-gold);
  color: var(--book-gold);
  padding-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story .text-link:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.image-pair {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 3rem;
}

.image-pair figure {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.image-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.image-pair figure:hover img {
  transform: scale(1.04);
}

@media (min-width: 1025px) {
  .layout-split {
    align-items: start;
  }

  .image-pair {
    position: sticky;
    top: clamp(2rem, 8vh, 5rem);
    display: grid;
    height: min(72vh, 760px);
    min-height: 520px;
    align-self: start;
    place-items: center;
    gap: 0;
  }

  .image-pair figure {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(100%, 620px);
    max-width: min(100%, 620px);
    max-height: min(68vh, 720px);
    aspect-ratio: var(--partner-image-ratio, 4 / 3);
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: auto;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.98);
    transition: opacity 0.45s ease, transform 0.6s var(--ease);
  }

  .image-pair figure:first-child,
  .image-pair figure.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }

  .image-pair.has-active figure:first-child:not(.is-active) {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.98);
  }

  .image-pair img {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: inherit;
    object-fit: contain;
  }
}

@media (max-width: 1024px) {
  .layout-split {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 2rem 2rem 6rem;
  }

  .image-pair {
    height: auto;
    align-items: center;
    flex-direction: row;
  }

  .image-pair figure {
    flex: 1 1 0;
    aspect-ratio: auto;
  }

  .image-pair img {
    height: auto;
    object-fit: contain;
  }

  .content-wrapper {
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 768px) {
  .client-hero {
    min-height: 92vh;
    padding: 5rem 1.5rem 2rem;
  }

  .client-hero h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .client-sell {
    font-size: 1rem;
  }

  .video-placeholder {
    width: calc(100% - 2rem);
  }

  .layout-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 1.5rem 5rem;
  }

  .story,
  .image-pair {
    display: contents;
  }

  .story p:nth-of-type(-n+6) {
    order: 1;
  }

  .image-pair figure:nth-of-type(1) {
    display: block;
    order: 2;
    width: 100%;
    margin: 1.5rem 0;
    aspect-ratio: auto;
  }

  .story p:nth-of-type(n+7):nth-of-type(-n+13) {
    order: 3;
  }

  .image-pair figure:nth-of-type(2) {
    display: block;
    order: 4;
    width: 100%;
    margin: 1.5rem 0;
    aspect-ratio: auto;
  }

  .story p:nth-of-type(n+14) {
    order: 5;
  }

  .story .text-link {
    order: 6;
    margin: 2rem auto 0;
  }

  .image-pair img {
    height: auto;
    object-fit: contain;
  }

  .minimize-btn {
    top: 1rem;
    right: 1rem;
  }
}
