/* Control-free presentation of the selected paired release; geometry stays in
   the six unchanged identity SVGs. The homepage owns the surrounding field. */
.teaser-release {
  --release-warm: #edb58f;
  --release-cool: #c4dbe9;
  --release-warm-first: #e39a62;
  --release-warm-middle: #b99e80;
  --release-warm-last: #ffbd7d;
  --release-cool-first: #91b9d4;
  --release-cool-middle: #91a7b8;
  --release-cool-last: #c3e5f4;
  --forge-hot: var(--release-warm-last);
  --net-hot: var(--release-cool-last);
  --material-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink, #f5f7fa);
  font-family: "Exo 2", Arial, sans-serif;
}

.teaser-release .release-hero-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  background: transparent;
}

.teaser-release .release-logo {
  transition: filter 1200ms var(--material-ease);
}

.teaser-release figcaption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: 0;
  row-gap: .5rem;
  padding: 0;
}

.teaser-release .product-caption {
  --product-color: var(--release-warm);
  --product-hot: var(--forge-hot);
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: .5rem clamp(.5rem, 2vw, 2rem);
  color: var(--product-color);
  text-align: center;
}

.teaser-release .product-caption.release-group--cert {
  --product-color: var(--release-cool);
  --product-hot: var(--net-hot);
}

.teaser-release .product-caption strong {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--product-color);
  transition: color 180ms ease-out;
}

.teaser-release .product-slogan {
  display: block;
  align-self: start;
  font-family: "Exo 2", Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: pretty;
  transition: color 180ms ease-out;
}

.teaser-release .product-caption :is(strong, .product-slogan) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.teaser-release .product-caption::selection,
.teaser-release .product-caption ::selection {
  background: var(--product-color);
  color: #101216;
}

.teaser-release:has(.release-group--workflow:is(:hover, :focus-within)) .release-logo--workflow {
  filter: brightness(1.18);
}

.teaser-release:has(.release-group--cert:is(:hover, :focus-within)) .release-logo--cert {
  filter: brightness(1.24);
}

.teaser-release:has(.release-group--workflow:is(:hover, :focus-within)) .product-caption.release-group--workflow :is(strong, .product-slogan),
.teaser-release:has(.release-group--cert:is(:hover, :focus-within)) .product-caption.release-group--cert :is(strong, .product-slogan) {
  color: var(--product-hot);
}

/* Independent edge lighting follows the warm/cool material pair, never result
   colors or route clocks. */
.teaser-release .material-lighting {
  fill: none;
  pointer-events: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teaser-release .material-lighting--workflow {
  stroke: var(--release-warm);
}

.teaser-release .material-lighting--cert {
  stroke: var(--release-cool);
}

.teaser-release .material-contour {
  opacity: 0;
  stroke-width: .55;
  transition: opacity 1600ms var(--material-ease);
}

.teaser-release .material-glint {
  opacity: 0;
  stroke-width: 1.05;
  stroke-dasharray: .13 1;
  stroke-dashoffset: .13;
  transition: opacity 900ms var(--material-ease), stroke-dashoffset 2600ms var(--material-ease);
}

.teaser-release:has(.release-group--workflow:is(:hover, :focus-within)) .material-lighting--workflow .material-contour,
.teaser-release:has(.release-group--cert:is(:hover, :focus-within)) .material-lighting--cert .material-contour {
  opacity: .42;
}

.teaser-release:has(.release-group--workflow:is(:hover, :focus-within)) .material-lighting--workflow .material-glint,
.teaser-release:has(.release-group--cert:is(:hover, :focus-within)) .material-lighting--cert .material-glint {
  opacity: .9;
  stroke-dashoffset: -.87;
}

body[data-atmosphere="workflows"] .teaser-release .material-lighting--workflow .material-contour,
body[data-atmosphere="hephaestus"] .teaser-release .material-lighting--workflow .material-contour,
body[data-atmosphere="autonomy"] .teaser-release .material-lighting--cert .material-contour,
body[data-atmosphere="ares"] .teaser-release .material-lighting--cert .material-contour {
  opacity: .28;
}

.teaser-release .organic-trace {
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
  stroke: var(--flow-color, var(--silver));
  opacity: 0;
}

.teaser-release .organic-mesh-light {
  stroke: var(--release-cool-last);
  stroke-width: 2.2;
}

.teaser-release .release-hero-art:not([data-artwork="animated"]) :is(.material-lighting, .release-connector-scene, [data-forge-impact-layer]) {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .teaser-release *,
  .teaser-release *::before,
  .teaser-release *::after {
    transition: none !important;
  }

  .teaser-release :is(.material-lighting, .release-connector-scene, [data-forge-impact-layer]) {
    display: none;
  }
}

@media (forced-colors: active) {
  .teaser-release {
    --release-warm: CanvasText;
    --release-cool: CanvasText;
    --forge-hot: CanvasText;
    --net-hot: CanvasText;
    color: CanvasText;
  }

  .teaser-release :is(.material-lighting, .release-connector-scene, [data-forge-impact-layer]) {
    display: none;
  }

  .teaser-release .release-logo {
    filter: none !important;
  }
}

@media print {
  .teaser-release {
    --release-warm: #111;
    --release-cool: #111;
    --forge-hot: #111;
    --net-hot: #111;
    color: #111;
    break-inside: avoid;
  }

  .teaser-release :is(.material-lighting, .release-connector-scene, [data-forge-impact-layer]) {
    display: none !important;
  }

  .teaser-release .release-logo {
    filter: none !important;
  }

  .teaser-release * {
    transition: none !important;
  }
}
