/* Additions for traditional-securitisation and white-label-structure. Loaded after digital-assets.css. */

.hero-media.media-packaging {
  background-image: url("asset-packaging.webp");
  background-position: 80% 55%;
}

.hero-media.media-bridge {
  background-image: url("hero.webp");
  background-position: 72% 50%;
}

.hero-media.media-token {
  background-image: url("token-hero-viaduct.webp");
  background-position: 50% 40%;
}

/* Token hero: full landscape visible, lighter overlay, no vertical light line */
.hero.hero-token::before {
  background:
    linear-gradient(90deg, rgba(23, 19, 31, .82) 0%, rgba(23, 19, 31, .6) 34%, rgba(23, 19, 31, .12) 62%, rgba(23, 19, 31, 0) 100%),
    linear-gradient(0deg, rgba(23, 19, 31, .7) 0%, transparent 38%);
}
.hero.hero-token::after { display: none; }

/* Wide screens: show the whole landscape (mountains, valley, viaduct) instead of a zoomed crop */
@media (min-aspect-ratio: 4/3) and (min-width: 901px) {
  .hero.hero-token { background: #15111d; }
  .hero-media.media-token { background-size: 100% auto; background-position: center top; }
  .hero.hero-token::before {
    background:
      linear-gradient(90deg, rgba(23, 19, 31, .62) 0%, rgba(23, 19, 31, .34) 32%, rgba(23, 19, 31, 0) 56%),
      linear-gradient(0deg, #15111d 0%, #15111d 10%, rgba(21, 17, 29, 0) 36%);
  }
}

.luxembourg-media.media-structure {
  background-image: url("structure.webp");
  background-position: 70% 40%;
}

.luxembourg-media.media-packaging {
  background-image: url("asset-packaging.webp");
  background-position: 85% 50%;
}

/* Asset chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(48px, 6vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
}

/* Three-column variant of the starting grid */
.starting-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.starting-grid.three article { min-height: 520px; padding-left: clamp(24px, 3vw, 52px); padding-right: clamp(24px, 3vw, 52px); }
.starting-grid.three article:first-child { padding-left: 0; }
.starting-grid.three article:last-child { padding-right: 0; }
.starting-grid.three h3 { max-width: 14ch; }

/* Links inside dark ledger */
.luxembourg-ledger .text-link { margin-top: 22px; font-size: .82rem; gap: 18px; }

/* Structure flow (white label) */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.25fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin: 0 0 clamp(70px, 9vw, 130px);
}

.flow-node {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line-dark);
  background: rgba(23, 19, 31, .55);
  backdrop-filter: blur(6px);
}

.flow-node span {
  color: var(--muted-light);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.flow-node strong {
  display: block;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.flow-node small { display: block; margin-top: 10px; color: #cfc8da; font-size: .82rem; line-height: 1.45; }

.flow-node.is-core {
  border-color: var(--violet-light);
  background: rgba(120, 31, 255, .22);
  box-shadow: 0 0 60px rgba(120, 31, 255, .22);
}

.flow-node.is-core strong { color: var(--white); }

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 3vw, 48px);
  color: var(--violet-light);
  font-size: 1.25rem;
}

.flow-brand {
  grid-column: 1 / -1;
  max-width: none;
  margin-top: 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--violet-light);
  color: var(--violet-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ecosystem-note {
  margin: clamp(48px, 6vw, 80px) 0 0;
  max-width: 62ch;
  color: #e1dde8;
  font-size: clamp(17px, 1.3vw, 20px);
}

.ecosystem-note a { color: var(--violet-light); }

@media (max-width: 1180px) {
  .flow { grid-template-columns: 1fr; max-width: 560px; }
  .flow .flow-arrow { width: auto; height: 34px; transform: rotate(90deg); }
  .flow-node { min-height: 0; }
}

@media (max-width: 900px) {
  .starting-grid.three { grid-template-columns: 1fr; }
  .starting-grid.three article { min-height: auto; padding: 40px 0 54px; }
  .starting-grid.three article + article { padding: 54px 0 40px; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 700px) {
  .hero-media.media-packaging { background-position: 88% 50%; }
  .hero-media.media-token { background-position: 62% 40%; }
  .hero.hero-token::before { background: linear-gradient(90deg, rgba(23, 19, 31, .86), rgba(23, 19, 31, .55)), linear-gradient(0deg, rgba(23, 19, 31, .85), transparent 60%); }
}

/* Longer hero headline (traditional) */
.hero h1.h1-long { font-size: clamp(56px, 7vw, 124px); }
@media (max-width: 460px) { .hero h1.h1-long { font-size: clamp(46px, 13.5vw, 64px); } }
