body[data-note-design="independent-forward"] {
  --independent-night: oklch(8% 0.02 191);
  --independent-paper: oklch(94% 0.035 83);
  --independent-rust: oklch(59% 0.15 44);
  --independent-sky: oklch(78% 0.1 224);
  --independent-green: oklch(45% 0.08 153);
}

body[data-note-design="independent-forward"] .article-main {
  padding-top: 5.2rem;
  background: var(--independent-night);
}

body[data-note-design="independent-forward"] .article-main article {
  padding-bottom: 6rem;
  background:
    radial-gradient(circle at 12% 9%, oklch(68% 0.1 45 / 0.18), transparent 24rem),
    linear-gradient(180deg, var(--paper-faint), var(--paper-warm));
}

body[data-note-design="independent-forward"] .article-header--art-directed {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: calc(100svh - 5.2rem);
  margin: 0;
  overflow: hidden;
  padding: 0;
  color: var(--independent-paper);
  background: var(--independent-night);
}

body[data-note-design="independent-forward"] .article-hero-media,
body[data-note-design="independent-forward"] .article-hero-veil {
  position: absolute;
  inset: 0;
}

body[data-note-design="independent-forward"] .article-hero-media {
  z-index: -2;
  overflow: hidden;
}

body[data-note-design="independent-forward"] .article-hero-media img,
body[data-note-design="independent-forward"] .article-hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-position, center);
}

body[data-note-design="independent-forward"] .article-hero-media img {
  transform: scale(1.045) translate3d(-0.35%, 0, 0);
  animation: independent-horizon-settle 18s cubic-bezier(0.2, 0.72, 0.12, 1) both;
}

body[data-note-design="independent-forward"] .article-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 4px, oklch(98% 0.02 84 / 0.08) 5px, transparent 6px);
  mix-blend-mode: soft-light;
}

body[data-note-design="independent-forward"] .article-hero-veil {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 44%, oklch(7% 0.018 194 / 0.2) 0 24%, oklch(7% 0.018 194 / 0.48) 72%),
    linear-gradient(180deg, oklch(5% 0.016 194 / 0.5), transparent 25%, transparent 65%, oklch(5% 0.016 194 / 0.78));
}

body[data-note-design="independent-forward"] .article-header__inner {
  position: relative;
  width: min(calc(100% - 2rem), 78rem);
  min-height: calc(100svh - 5.2rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(6.5rem, 12vh, 9rem) 0 clamp(4.5rem, 8vh, 6.5rem);
  text-align: center;
}

body[data-note-design="independent-forward"] .article-header__inner .article-meta {
  justify-content: center;
  width: fit-content;
  margin-bottom: clamp(1.5rem, 3vh, 2.4rem);
  padding: 0.7rem 1rem;
  color: oklch(97% 0.02 84 / 0.78);
  background: oklch(8% 0.02 191 / 0.42);
  border: 1px solid oklch(97% 0.02 84 / 0.22);
  border-radius: 999px;
  box-shadow: 0 18px 60px oklch(4% 0.015 191 / 0.18);
  backdrop-filter: blur(12px);
}

body[data-note-design="independent-forward"] .article-header__inner .article-meta,
body[data-note-design="independent-forward"] .article-header__inner h1,
body[data-note-design="independent-forward"] .article-header__inner > p {
  transform: translate3d(0, -7svh, 0);
}

body[data-note-design="independent-forward"] .article-header__inner .article-meta span:first-child {
  color: var(--independent-paper);
  background: transparent;
  border: 0;
  padding: 0;
}

body[data-note-design="independent-forward"] .article-header__inner h1 {
  max-width: 14ch;
  margin: 0 0 clamp(1.4rem, 3vh, 2.2rem);
  color: var(--independent-paper);
  font: 500 clamp(3.7rem, 7.7vw, 7.6rem) / 0.91 var(--font-body);
  letter-spacing: -0.065em;
  overflow-wrap: normal;
  text-transform: none;
  text-shadow: 0 3px 34px oklch(4% 0.016 194 / 0.82);
  text-wrap: balance;
}

body[data-note-design="independent-forward"] .article-header__inner > p {
  max-width: 51ch;
  margin: 0;
  color: oklch(97% 0.02 84 / 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 2px 24px oklch(4% 0.016 194 / 0.9);
  text-wrap: pretty;
}

body[data-note-design="independent-forward"] .article-header__inner > .article-updated {
  margin-top: 1rem;
  color: oklch(97% 0.02 84 / 0.6);
  font: 700 0.67rem / 1.35 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-note-design="independent-forward"] .article-bands {
  height: 0.34rem;
  background: linear-gradient(90deg, var(--independent-rust) 0 24%, var(--independent-sky) 24% 67%, var(--independent-green) 67% 100%);
}

body[data-note-design="independent-forward"] .article-copy > p:nth-child(3),
body[data-note-design="independent-forward"] .article-copy > p:nth-child(4) {
  font-size: 1.18em;
  font-weight: 600;
}

@keyframes independent-horizon-settle {
  from {
    transform: scale(1.045) translate3d(-0.35%, 0, 0);
    filter: saturate(0.88) contrast(1.02) brightness(0.88);
  }
  to {
    transform: scale(1.01) translate3d(0.35%, 0, 0);
    filter: saturate(0.98) contrast(1.05) brightness(0.98);
  }
}

@media (max-width: 47.98rem) {
  body[data-note-design="independent-forward"] .article-main {
    padding-top: 4.8rem;
  }

  body[data-note-design="independent-forward"] .article-header--art-directed,
  body[data-note-design="independent-forward"] .article-header__inner {
    min-height: calc(100svh - 4.8rem);
  }

  body[data-note-design="independent-forward"] .article-hero-media img,
  body[data-note-design="independent-forward"] .article-hero-media video {
    object-position: center center;
  }

  body[data-note-design="independent-forward"] .article-hero-veil {
    background:
      linear-gradient(180deg, oklch(5% 0.016 194 / 0.48), oklch(5% 0.016 194 / 0.18) 25%, oklch(5% 0.016 194 / 0.72) 72%, oklch(5% 0.016 194 / 0.92)),
      radial-gradient(ellipse at 50% 56%, transparent 0 18%, oklch(5% 0.016 194 / 0.38) 82%);
  }

  body[data-note-design="independent-forward"] .article-header__inner {
    justify-content: flex-end;
    padding: 5rem 0 3.4rem;
  }

  body[data-note-design="independent-forward"] .article-header__inner .article-meta {
    gap: 0.55rem 0.8rem;
    margin-bottom: 1.3rem;
    padding: 0.62rem 0.8rem;
    font-size: 0.63rem;
  }

  body[data-note-design="independent-forward"] .article-header__inner .article-meta,
  body[data-note-design="independent-forward"] .article-header__inner h1,
  body[data-note-design="independent-forward"] .article-header__inner > p {
    transform: none;
  }

  body[data-note-design="independent-forward"] .article-header__inner h1 {
    max-width: 11ch;
    margin-bottom: 1.2rem;
    font-size: clamp(3.25rem, 15vw, 5rem);
    letter-spacing: -0.055em;
  }

  body[data-note-design="independent-forward"] .article-header__inner > p {
    max-width: 31ch;
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-note-design="independent-forward"] .article-hero-media img {
    animation: none;
    transform: scale(1.01);
    filter: saturate(0.98) contrast(1.05) brightness(0.98);
  }
}
