/**
 * HOLO Press — Story Holon visual law
 * Source: Canva BCAI STORY HOLO SETS (DAHCfXpvvbM) @ 4000px
 *
 * Type specimens (from annotated sheet):
 *   H1 article:  Montserrat Bold 30/30 solid, centered
 *   H1 feature:  Montserrat Bold 30/30 centered, white on black
 *   H3:          Montserrat Bold 18/18 left
 *   H5:          Montserrat Bold 12/12 left
 *   Article sub: Libre Baskerville 18/18
 *   Feature sub: Libre Baskerville 14/14 or 18/18
 *   Caption:     Libre Baskerville 8/8
 *   Badge:       gold rectangle, black caps
 */

:root {
  --holo-black: #000000;
  --holo-white: #ffffff;
  --holo-gold: #dfae23;
  --holo-gold-deep: #b37c03;
  --holo-gold-hi: #fed70b;
  --holo-gold-flat: #c49a2d;
  --holo-data-cyan: #3ec7d8;
  --holo-data-navy: #0a1a2e;
  --holo-font-head: "Montserrat", sans-serif;
  --holo-font-soul: "Libre Baskerville", Georgia, serif;
  --holo-ease: cubic-bezier(0.618, 0, 0.382, 1);
}

/* ─── Base article chrome ─── */
body.holo-press-article,
body.holo-press-landing {
  margin: 0;
  background: var(--holo-black);
  color: var(--holo-white);
  font-family: var(--holo-font-soul);
  -webkit-font-smoothing: antialiased;
}

.holo-article,
.holo-landing {
  max-width: 960px;
  margin: 0 auto;
  background: var(--holo-white);
  color: var(--holo-black);
}

.holo-landing {
  background: var(--holo-black);
  color: var(--holo-white);
  max-width: 1100px;
  padding: 0 0 89px;
}

.holo-landing__header {
  text-align: center;
  padding: 55px 34px 34px;
}

.holo-landing__body {
  padding: 0 34px;
}

/* ─── Badge ─── */
.holo-badge {
  display: inline-block;
  background: var(--holo-gold);
  color: var(--holo-black);
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin: 0 auto 21px;
  border-radius: 0;
}

.holo-hero__text .holo-badge {
  display: block;
  width: fit-content;
}

/* ─── Typography specimens ─── */
.holo-h1-article {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--holo-black);
  margin: 0 0 21px;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.holo-h1-article--on-dark,
.holo-h1-feature {
  color: var(--holo-white);
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  margin: 0 0 18px;
}

.holo-h3-feature {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 18px;
  text-align: left;
  color: var(--holo-white);
  margin: 0 0 13px;
}

.holo-h5-feature {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  text-align: left;
  color: var(--holo-white);
  margin: 0 0 8px;
}

.holo-subhead-article {
  font-family: var(--holo-font-soul);
  font-weight: 400;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  color: var(--holo-black);
  margin: 0 auto 34px;
  max-width: 38em;
}

.holo-subhead-article--on-dark {
  color: var(--holo-white);
}

.holo-subhead-feature {
  font-family: var(--holo-font-soul);
  font-weight: 400;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  color: var(--holo-white);
  margin: 0 0 21px;
}

.holo-subhead-feature--14 {
  font-size: 14px;
  line-height: 14px;
}

.holo-caption {
  font-family: var(--holo-font-soul);
  font-weight: 400;
  font-size: 8px;
  line-height: 8px;
  color: inherit;
  margin: 0;
  opacity: 0.85;
}

.holo-gold-word {
  color: var(--holo-gold);
}

/* ─── HERO level 1 ─── */
.holo-hero {
  background: var(--holo-white);
}

.holo-hero__visual {
  position: relative;
  width: 100%;
  background: var(--holo-data-navy);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  min-height: 280px;
}

.holo-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.holo-hero__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 11px,
      rgba(62, 199, 216, 0.07) 11px,
      rgba(62, 199, 216, 0.07) 12px
    ),
    radial-gradient(ellipse at 50% 40%, #123a55 0%, var(--holo-data-navy) 70%);
  animation: holo-data-drift 12s var(--holo-ease) infinite alternate;
}

@keyframes holo-data-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 40px, 0 -20px; }
}

.holo-hero__placeholder-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  height: 100%;
  padding: 34px 21px;
  gap: 13px;
  position: relative;
  z-index: 1;
}

.holo-hero__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.holo-hero__year {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1;
  color: var(--holo-gold);
}

.holo-hero__caption {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  color: var(--holo-white);
}

.holo-hero__engine {
  font-family: var(--holo-font-head);
  font-weight: 600;
  font-size: 11px;
  color: var(--holo-white);
  letter-spacing: 0.02em;
}

.holo-hero__portrait-mark {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(62, 199, 216, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--holo-font-head);
  font-weight: 800;
  font-size: 36px;
  color: var(--holo-white);
  background: rgba(0, 0, 0, 0.35);
  animation: holo-portrait-breathe 4s var(--holo-ease) infinite;
}

@keyframes holo-portrait-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(62, 199, 216, 0.2); }
  50% { transform: scale(1.03); box-shadow: 0 0 24px 4px rgba(62, 199, 216, 0.25); }
}

.holo-hero__timeline {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 52%;
  border-top: 1px dotted rgba(255, 255, 255, 0.55);
  z-index: 0;
  pointer-events: none;
}

.holo-hero__text {
  padding: 55px 34px 55px;
  text-align: center;
}

.holo-hero__text--light {
  background: var(--holo-white);
  color: var(--holo-black);
}

.holo-hero__text--dark {
  background: var(--holo-black);
  color: var(--holo-white);
}

.holo-hero__text--dark .holo-h1-article,
.holo-hero__text--dark .holo-subhead-article,
.holo-hero__text--dark .holo-caption,
.holo-hero__text--dark .holo-author__name {
  color: var(--holo-white);
}

/* Author credit — left of text block per spec */
.holo-author {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  max-width: 420px;
  margin-top: 34px;
}

.holo-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.holo-author__name {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.holo-author--center {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.holo-author--gold .holo-author__name {
  color: var(--holo-gold);
}

/* ─── Article body ─── */
.holo-article__body {
  padding: 0 55px 89px;
  font-family: var(--holo-font-soul);
  font-size: 18px;
  line-height: 1.65;
  color: var(--holo-black);
  max-width: 720px;
  margin: 0 auto;
}

.holo-article__body h2,
.holo-article__body h3 {
  font-family: var(--holo-font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 34px 0 13px;
}

.holo-article__body p {
  margin: 0 0 1.1em;
}

.holo-article__body a {
  color: var(--holo-gold-deep);
}

/* ─── WHAT? chip (does not latch) ─── */
.holo-what-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--holo-gold);
  color: var(--holo-black);
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--holo-ease), background 0.25s var(--holo-ease);
}

.holo-what-chip:hover,
.holo-what-chip:focus-visible {
  background: var(--holo-gold-hi);
  transform: translateY(-1px);
}

.holo-what-chip:active {
  transform: none; /* does not latch */
}

.holo-what-chip__arrow {
  width: 10px;
  height: 10px;
  stroke: var(--holo-white);
  stroke-width: 2.4;
  fill: none;
}

/* ─── Holon cards (A / B secondary / tertiary / quaternary) ─── */
.holo-card {
  background: var(--holo-black);
  color: var(--holo-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--holo-ease);
}

.holo-card:hover {
  transform: translateY(-3px);
}

.holo-card__media {
  position: relative;
  overflow: hidden;
  background: var(--holo-data-navy);
}

.holo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.holo-card__body {
  padding: 21px 18px 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* A-Holon — square */
.holo-card--a {
  max-width: 420px;
}

.holo-card--a .holo-card__media {
  aspect-ratio: 1 / 1;
}

.holo-card--a .holo-card__body {
  text-align: center;
  align-items: center;
}

.holo-card--a .holo-badge {
  margin-bottom: 18px;
}

.holo-card--a .holo-what-chip {
  margin-top: 8px;
  align-self: flex-end;
}

.holo-card--a .holo-author {
  margin-top: auto;
  padding-top: 21px;
}

/* B secondary — narrow vertical */
.holo-card--b-secondary {
  max-width: 260px;
}

.holo-card--b-secondary .holo-card__media {
  aspect-ratio: 3 / 4;
}

.holo-card--b-secondary .holo-card__body {
  text-align: left;
  align-items: flex-start;
}

.holo-card--b-secondary .holo-h3-feature {
  order: -1;
}

.holo-card--b-secondary .holo-subhead-feature {
  text-align: left;
  font-size: 14px;
  line-height: 14px;
}

.holo-card--b-secondary .holo-what-chip {
  margin-top: auto;
}

/* B tertiary — small horizontal */
.holo-card--b-tertiary {
  max-width: 480px;
  flex-direction: row;
  min-height: 120px;
}

.holo-card--b-tertiary .holo-card__media {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.holo-card--b-tertiary .holo-card__body {
  padding: 13px 16px;
  text-align: left;
  align-items: flex-start;
}

.holo-card--b-tertiary .holo-author {
  margin-top: auto;
  padding-top: 8px;
}

/* B quaternary — smallest thumb */
.holo-card--b-quaternary {
  max-width: 360px;
  flex-direction: row;
  min-height: 72px;
}

.holo-card--b-quaternary .holo-card__media {
  width: 72px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.holo-card--b-quaternary .holo-card__body {
  padding: 10px 12px;
  justify-content: center;
}

.holo-card--b-quaternary .holo-author {
  margin-top: 6px;
  padding-top: 0;
}

/* Rails */
.holo-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  padding: 34px;
  background: var(--holo-black);
}

/* Sonic */
.holo-sonic {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 34px 55px 55px;
  max-width: 720px;
  margin: 0 auto;
}

.holo-sonic__opus {
  font-family: var(--holo-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--holo-gold-deep);
  margin-bottom: 13px;
}

.holo-sonic__link {
  font-family: var(--holo-font-head);
  font-weight: 700;
  color: var(--holo-gold-deep);
}

/* Motion presence */
.holo-hero__text .holo-badge {
  animation: holo-fade-up 0.7s var(--holo-ease) both;
}

.holo-h1-article {
  animation: holo-fade-up 0.85s var(--holo-ease) 0.08s both;
}

.holo-subhead-article {
  animation: holo-fade-up 0.9s var(--holo-ease) 0.16s both;
}

@keyframes holo-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 720px) {
  .holo-hero__placeholder-grid {
    grid-template-columns: 1fr;
    padding: 21px 13px;
  }

  .holo-hero__slot--left,
  .holo-hero__slot--right {
    display: none;
  }

  .holo-h1-article,
  .holo-h1-feature {
    font-size: 24px;
    line-height: 24px;
  }

  .holo-subhead-article {
    font-size: 16px;
    line-height: 20px;
  }

  .holo-hero__text,
  .holo-article__body {
    padding-left: 21px;
    padding-right: 21px;
  }

  .holo-card--b-tertiary,
  .holo-card--b-quaternary {
    max-width: 100%;
  }
}
