body[data-note-design="shared-horizon"] {
  --horizon-night: oklch(7% 0.025 255);
  --horizon-paper: oklch(95% 0.03 80);
  --horizon-coral: oklch(71% 0.13 38);
  --horizon-gold: oklch(82% 0.13 76);
  --horizon-blue: oklch(47% 0.08 252);
}

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

body[data-note-design="shared-horizon"] .article-main article {
  padding-bottom: 6rem;
  background:
    radial-gradient(circle at 50% 2%, oklch(71% 0.13 38 / 0.15), transparent 27rem),
    linear-gradient(180deg, var(--paper-faint), var(--paper-warm));
}

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

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

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

body[data-note-design="shared-horizon"] .article-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--hero-position, center);
  animation: shared-horizon-arrive 18s cubic-bezier(0.2, 0.72, 0.12, 1) both;
}

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

body[data-note-design="shared-horizon"] .article-hero-veil {
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, oklch(5% 0.02 255 / 0.18) 0 22%, oklch(5% 0.02 255 / 0.64) 82%),
    linear-gradient(180deg, oklch(4% 0.02 255 / 0.58), transparent 25%, oklch(4% 0.02 255 / 0.12) 62%, oklch(4% 0.02 255 / 0.7));
}

body[data-note-design="shared-horizon"] .article-header__inner {
  width: min(calc(100% - 2rem), 80rem);
  min-height: calc(100svh - 5.2rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 7.5rem) 0 clamp(3.5rem, 7vh, 5.5rem);
  text-align: center;
}

body[data-note-design="shared-horizon"] .article-header__inner .article-meta {
  justify-content: center;
  width: fit-content;
  margin-bottom: clamp(1.25rem, 2.5vh, 2rem);
  padding: 0.68rem 0.95rem;
  color: oklch(96% 0.03 80 / 0.72);
  background: oklch(6% 0.025 255 / 0.42);
  border: 1px solid oklch(96% 0.03 80 / 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 60px oklch(2% 0.01 255 / 0.24);
  backdrop-filter: blur(12px);
  animation: shared-horizon-copy-in 0.8s ease-out both;
}

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

body[data-note-design="shared-horizon"] .article-header__inner h1 {
  max-width: 19ch;
  margin: 0 0 clamp(1.25rem, 2.5vh, 2rem);
  color: var(--horizon-paper);
  font: 500 clamp(3.8rem, 6.4vw, 6.5rem) / 0.9 var(--font-body);
  letter-spacing: -0.065em;
  overflow-wrap: normal;
  text-transform: none;
  text-shadow: 0 3px 34px oklch(2% 0.014 255 / 0.92);
  text-wrap: balance;
  animation: shared-horizon-copy-in 0.95s var(--ease-out) 0.12s both;
}

body[data-note-design="shared-horizon"] .article-header__inner > p {
  max-width: 48ch;
  margin: 0;
  color: oklch(96% 0.03 80 / 0.8);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 500;
  line-height: 1.42;
  text-shadow: 0 2px 24px oklch(2% 0.014 255 / 0.95);
  text-wrap: pretty;
  animation: shared-horizon-copy-in 0.95s var(--ease-out) 0.24s both;
}

body[data-note-design="shared-horizon"] .article-bands {
  height: 0.34rem;
  background: linear-gradient(90deg, var(--horizon-blue) 0 32%, var(--horizon-coral) 32% 69%, var(--horizon-gold) 69% 100%);
}

body[data-note-design="shared-horizon"] .article-copy > p:first-child {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 1.62rem);
  font-weight: 600;
  line-height: 1.48;
}

@keyframes shared-horizon-arrive {
  from {
    transform: scale(1.055) translate3d(0, 0.5%, 0);
    filter: saturate(0.82) contrast(1.05) brightness(0.82);
  }
  to {
    transform: scale(1.01) translate3d(0, 0, 0);
    filter: saturate(0.96) contrast(1.08) brightness(0.98);
  }
}

@keyframes shared-horizon-copy-in {
  from { opacity: 0; transform: translate3d(0, 1.2rem, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

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

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

  body[data-note-design="shared-horizon"] .article-hero-media img {
    object-position: center center;
  }

  body[data-note-design="shared-horizon"] .article-hero-veil {
    background:
      linear-gradient(180deg, oklch(4% 0.02 255 / 0.58), oklch(4% 0.02 255 / 0.18) 27%, oklch(4% 0.02 255 / 0.74) 72%, oklch(4% 0.02 255 / 0.9)),
      radial-gradient(ellipse at 50% 48%, transparent 0 18%, oklch(4% 0.02 255 / 0.42) 82%);
  }

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

  body[data-note-design="shared-horizon"] .article-header__inner .article-meta {
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.1rem;
    padding: 0.58rem 0.7rem;
    font-size: 0.59rem;
  }

  body[data-note-design="shared-horizon"] .article-header__inner h1 {
    max-width: 12ch;
    margin-bottom: 1.15rem;
    font-size: clamp(3rem, 13.4vw, 4.7rem);
    letter-spacing: -0.055em;
  }

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

@media (prefers-reduced-motion: reduce) {
  body[data-note-design="shared-horizon"] .article-hero-media img,
  body[data-note-design="shared-horizon"] .article-header__inner .article-meta,
  body[data-note-design="shared-horizon"] .article-header__inner h1,
  body[data-note-design="shared-horizon"] .article-header__inner > p {
    animation: none;
  }

  body[data-note-design="shared-horizon"] .article-hero-media img {
    transform: scale(1.01);
    filter: saturate(0.96) contrast(1.08) brightness(0.98);
  }
}
