.adaptive-editorial-header-demo {
  max-width: 920px;
  margin: 0 auto;
}

.adaptive-editorial-header {
  position: sticky;
  top: 18px;
  z-index: 5;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
    rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.adaptive-editorial-header__progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.adaptive-editorial-header__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #13be9c, #faaf3b);
  transition: width 180ms linear;
}

.adaptive-editorial-header__inner {
  padding: 22px 24px 24px;
  transition: padding 220ms ease;
}

.adaptive-editorial-header__eyebrow,
.adaptive-editorial-section__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}

.adaptive-editorial-header h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.94;
  color: #ffffff;
  transition: font-size 220ms ease, max-width 220ms ease;
}

.adaptive-editorial-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.adaptive-editorial-header__meta span + span::before {
  content: '•';
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.3);
}

.adaptive-editorial-header.is-condensed .adaptive-editorial-header__inner {
  padding-top: 14px;
  padding-bottom: 16px;
}

.adaptive-editorial-header.is-condensed h1 {
  max-width: none;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.adaptive-editorial-header.is-deep {
  border-color: rgba(19, 190, 156, 0.32);
}

.adaptive-editorial-header.is-hidden {
  transform: translateY(-112%);
}

.adaptive-editorial-story {
  display: grid;
  gap: 20px;
}

.adaptive-editorial-section {
  min-height: 72vh;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 12, 0.94);
}

.adaptive-editorial-section h2 {
  margin: 0 0 16px;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.adaptive-editorial-section p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  font-size: 1.06rem;
}

.adaptive-editorial-section p + p {
  margin-top: 14px;
}
