/* A quiet, faceted light treatment shared by headings and assessment actions. */
.diamond-word-art{position:relative;isolation:isolate;text-wrap:balance;overflow:visible}
.diamond-word-art::after{content:"";display:block;width:clamp(44px,7vw,90px);height:3px;margin-top:.28em;border-radius:3px;background:linear-gradient(100deg,currentColor 0%,#69c6ea 47%,#f2ce99 72%,currentColor 100%);background-size:230% 100%;opacity:.8;transform-origin:left;animation:diamond-heading-light 7s ease-in-out infinite;animation-play-state:paused}
.diamond-word-art[data-motion-visible=true]::after{animation-play-state:running}
/* Inherit the final section color instead of a JavaScript color snapshot.
   Solid text is the default so unsupported gradient effects stay readable. */
.diamond-word-ink{color:inherit;-webkit-text-fill-color:currentColor;padding-right:.035em;margin-right:-.035em}
@supports ((background-clip:text) or (-webkit-background-clip:text)) and (color:color-mix(in srgb,currentColor 88%,#65c9ed)){
  .diamond-word-ink{background-image:linear-gradient(105deg,currentColor 15%,color-mix(in srgb,currentColor 88%,#65c9ed) 43%,currentColor 66%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:diamond-heading-light 8s ease-in-out infinite;animation-play-state:paused}
}
.diamond-word-art[data-motion-visible=true] .diamond-word-ink{animation-play-state:running}
.diamond-word-art.diamond-arriving{animation:diamond-heading-arrive .85s cubic-bezier(.2,.65,.3,1) both}
.diamond-word-art em{display:inline-block;padding-right:.13em;padding-bottom:.06em}
.diamond-action{position:relative;isolation:isolate;overflow:hidden;transition:box-shadow .25s,transform .25s,background-color .25s}
.diamond-action::after{content:"";position:absolute;inset:-30% -60%;pointer-events:none;background:linear-gradient(110deg,transparent 38%,#ffffff55 49%,transparent 60%);transform:translateX(-65%);animation:diamond-action-light 6.5s ease-in-out infinite;animation-play-state:paused}
.diamond-action[data-motion-visible=true]::after{animation-play-state:running}
.diamond-action:hover{box-shadow:0 8px 24px #05273c30;transform:translateY(-2px)}
.diamond-action:active{transform:translateY(0)}
.diamond-brand{position:relative;display:inline-block;flex-shrink:0;line-height:0}
/* One video owns the complete logo footprint. Its poster is the fallback,
   so an independent still image can never show beneath the moving artwork. */
.diamond-brand .brand-film{position:static;display:block;height:auto;aspect-ratio:1;object-fit:contain;pointer-events:none;border-radius:4px;mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect}
.home .signature-title{line-height:1.23;letter-spacing:-.025em;padding-right:.16em;padding-bottom:.04em;overflow:visible}
.signature-words{padding-right:.12em}
/* The first frame is the roof; the signature, headline and links follow in
   reading order. Each 1.1-second fade finishes before the next one starts. */
.home .cinema-hero[data-hero-pending=true] .hero-reveal-item{opacity:0;pointer-events:none;animation:diamond-hero-safety 18s step-end forwards;animation-play-state:running!important}
.home .cinema-hero[data-hero-pending=false] .hero-reveal-item{animation:diamond-hero-reveal 1.1s ease both;animation-delay:var(--hero-reveal-delay,0ms)}
.home .cinema-hero[data-hero-pending=false][data-hero-sequence-paused=true] .hero-reveal-item{animation-play-state:paused}
.home .cinema-hero[data-hero-reveal-instant=true] .hero-reveal-item{animation:none!important;opacity:1;pointer-events:auto}
/* A failed page script must not strand the assessment links at zero opacity. */
@keyframes diamond-hero-safety{to{opacity:1;pointer-events:auto}}
@keyframes diamond-hero-reveal{from{opacity:0;pointer-events:none}to{opacity:1;pointer-events:auto}}
html[data-diamond-motion=paused] .diamond-word-art,
html[data-diamond-motion=paused] .diamond-word-art::after,
html[data-diamond-motion=paused] .diamond-word-ink,
html[data-diamond-motion=paused] .diamond-action::after{animation-play-state:paused!important}
@keyframes diamond-heading-arrive{from{transform:translateY(11px)}to{transform:translateY(0)}}
@keyframes diamond-heading-light{0%,14%{background-position:100% 50%}60%,100%{background-position:0 50%}}
@keyframes diamond-action-light{0%,35%{transform:translateX(-65%)}65%,100%{transform:translateX(65%)}}
@media(prefers-reduced-motion:reduce){.diamond-word-art,.diamond-word-art::after,.diamond-word-ink,.diamond-action::after{animation:none!important}.diamond-action::after{display:none}.diamond-action:hover{transform:none}.diamond-action,.brand-film{transition:none}.diamond-word-ink{-webkit-text-fill-color:currentColor;background:none}.home .cinema-hero .hero-reveal-item{animation:none!important;opacity:1;pointer-events:auto}}
@media(forced-colors:active),(prefers-contrast:more){.diamond-word-ink{background:none;-webkit-text-fill-color:currentColor;animation:none!important}.diamond-word-art::after{background:currentColor;opacity:1;animation:none!important}}
