/* Homepage hero: shared WCR font families, heading treatment, and .btn variants. */
.wcr-home .wcr-hero {
  --hero-ease: cubic-bezier(.16, 1, .3, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071e32;
  color: #fff;
}
.wcr-home .wcr-hero-wrap {
  width: min(1480px, calc(100% - 112px));
  min-height: min(900px, calc(100svh - 88px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.wcr-home .wcr-hero-main {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: center;
  flex: 1;
  padding: 76px 0 55px;
}
.wcr-home .wcr-hero-copy { max-width: 630px; min-width: 0; }
.wcr-home .wcr-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6fe0d8;
}
.wcr-home .wcr-hero-eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: #6fe0d8;
}
.wcr-home .wcr-hero-headline {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 800;
  max-width: 17ch;
  margin: 0;
}
.wcr-home .wcr-hero-headline > span { display: block; }
.wcr-home .wcr-hero-headline .wcr-hero-accent { color: #8bded8; }
.wcr-home .wcr-hero-description {
  max-width: 52ch;
  margin: 22px 0 30px;
  color: #c9d8e6;
  font-size: 18px;
  line-height: 1.6;
}
.wcr-home .wcr-hero-actions { align-items: center; }
.wcr-home .wcr-hero-actions .ic { width: 18px; height: 18px; }
.wcr-home .wcr-hero-chapters a:hover { color: #8bded8; }
.wcr-home .wcr-hero-visual { min-width: 0; width: 100%; }
.wcr-home .wcr-hero-scene {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 720 / 650;
  position: relative;
  margin: 0 auto;
}
.wcr-home .wcr-hero-logo {
  position: absolute;
  left: 6%;
  top: 8%;
  width: 88%;
  height: auto;
  overflow: visible;
  transition: opacity 1.15s ease, transform 1.7s var(--hero-ease);
}
.wcr-home .wcr-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.wcr-home .wcr-hero-unfolded > .wcr-hero-canvas { opacity: 1; }
.wcr-home .wcr-hero-unfolded > .wcr-hero-logo { opacity: 0; transform: scale(.96); pointer-events: none; }
/* Captions stay at real reading size while only the artwork scales. */
.wcr-home.wcr-hero-enhanced .wcr-hero-scene,
.wcr-home .wcr-hero-enhanced .wcr-hero-scene { aspect-ratio: auto; display: grid; gap: 14px; }
.wcr-home .wcr-hero-enhanced .wcr-hero-canvas { position: relative; inset: auto; display: block; aspect-ratio: 720 / 440; height: auto; }
.wcr-home .wcr-scene-head,.wcr-home .wcr-scene-foot { display: grid; margin-inline: 6.1%; opacity: 0; transition: opacity .45s ease; }
.wcr-home .wcr-hero-unfolded .wcr-scene-head,.wcr-home .wcr-hero-unfolded .wcr-scene-foot { opacity: 1; }
.wcr-home .wcr-scene-caption { grid-area: 1 / 1; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .32s ease; }
.wcr-home .wcr-scene-caption.is-active { visibility: visible; opacity: 1; }
.wcr-home .wcr-scene-meta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 18px; padding-bottom: 13px; margin-bottom: 15px; border-bottom: 1px solid #78b3cb2b; font: 500 12px/1.6 Inter,system-ui,sans-serif; }
.wcr-home .wcr-scene-eyebrow { color: #8bded8; letter-spacing: .04em; text-transform: uppercase; }
.wcr-home .wcr-scene-count { color: #a3c5d4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wcr-home .wcr-scene-title { font-family: 'Plus Jakarta Sans',sans-serif; font-size: clamp(25px,2.25vw,35px); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; color: #e1f3f5; margin: 0; text-wrap: balance; }
.wcr-home .wcr-scene-description { font: 400 17px/1.65 Inter,system-ui,sans-serif; color: #a4e2dc; margin: 0; }
.wcr-home .wcr-scene-progress { display: flex; gap: 6px; margin: 8px 6.1% 0; opacity: 0; }
.wcr-home .wcr-hero-unfolded .wcr-scene-progress { opacity: 1; }
.wcr-home .wcr-scene-progress>span { height: 2px; flex: 1; overflow: hidden; background: #6190a53d; }
.wcr-home .wcr-scene-progress i { display: block; width: 100%; height: 100%; background: #8bded8; transform: scaleX(0); transform-origin: left; opacity: .55; }
.wcr-home .wcr-scene-progress .is-current i { opacity: 1; }
@media(max-width:900px){.wcr-home .wcr-scene-title{font-size:clamp(24px,4.5vw,31px)}.wcr-home .wcr-scene-description{font-size:16px}}
@media(max-width:440px){.wcr-home .wcr-scene-meta{font-size:11px;gap:12px;padding-bottom:10px;margin-bottom:14px}.wcr-home .wcr-scene-description{font-size:14px;line-height:1.7}.wcr-home .wcr-scene-progress{gap:4px}.wcr-home .wcr-hero-enhanced .wcr-hero-scene{gap:12px}}
.wcr-home .wcr-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 32px;
  border-top: 1px solid #dceaf726;
}
.wcr-home .wcr-hero-bottom > p { margin: 0; max-width: 360px; color: #c9d8e6; font-size: 16px; line-height: 1.6; }
.wcr-home .wcr-hero-bottom strong { color: #fff; font-weight: 600; }
.wcr-home .wcr-hero-chapters { display: flex; align-items: center; gap: 24px; }
.wcr-home .wcr-hero-chapters a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.6; }
.wcr-home .wcr-hero-chapters a > span { color: #9dbcc9; font-size: 12px; font-weight: 500; }
.wcr-home .wcr-hero-scroll { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #bfd6e841; border-radius: 50%; color: #d4e3ec; font-size: 24px; }
.wcr-home .wcr-hero a:not(.btn):focus-visible { outline: 3px solid #8bded8; outline-offset: 4px; }

/* Finite entrance from the reference; the copy is always available if JS fails. */
.wcr-home .wcr-hero-mark-navy { transform-origin: 29% 80%; }
.wcr-home .wcr-hero-mark-blue { transform-origin: 55% 80%; }
.wcr-home .wcr-hero-mark-teal { transform-origin: 80% 50%; }
.wcr-home .wcr-hero-intro .wcr-hero-logo { animation: wcr-hero-assembly 4.3s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-mark-navy { animation: wcr-hero-navy 3.9s .1s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-mark-blue { animation: wcr-hero-blue 3.8s .3s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-mark-teal { animation: wcr-hero-teal 3.5s .6s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-headline > span { animation: wcr-hero-type 1.6s .7s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-headline > span:nth-child(2) { animation-delay: .84s; }
.wcr-home .wcr-hero-intro .wcr-hero-eyebrow { animation: wcr-hero-rise 1.1s .55s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-description { animation: wcr-hero-rise 1.3s 1.1s var(--hero-ease) both; }
.wcr-home .wcr-hero-intro .wcr-hero-actions { animation: wcr-hero-rise 1.2s 1.24s var(--hero-ease) both; }
@keyframes wcr-hero-assembly { from { transform: scale(1.9) rotate(-8deg); } to { transform: none; } }
@keyframes wcr-hero-navy { 0% { transform: translate(-65%, -25%) rotate(-95deg) scale(1.8); opacity: 0; } 12% { opacity: 1; } 60% { transform: translate(2%, 0) rotate(3deg); } 100% { transform: none; opacity: 1; } }
@keyframes wcr-hero-blue { 0% { transform: translate(65%, 75%) rotate3d(1, 1, 0, 135deg) scale(2); opacity: 0; } 12% { opacity: 1; } 70% { transform: rotate(-3deg); } 100% { transform: none; opacity: 1; } }
@keyframes wcr-hero-teal { 0% { transform: translate(30%, -80%) rotate(110deg) scale(3); opacity: 0; } 12% { opacity: 1; } 75% { transform: translate(0, 1%) rotate(2deg); } 100% { transform: none; opacity: 1; } }
@keyframes wcr-hero-type { from { opacity: 0; transform: translateY(28px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes wcr-hero-rise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

@media (min-width: 1700px) {
  .wcr-home .wcr-hero-main { gap: 65px; padding-top: 90px; padding-bottom: 70px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .wcr-home .wcr-hero-wrap { width: calc(100% - 64px); }
  .wcr-home .wcr-hero-main { gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 1100px) {
  .wcr-home .wcr-hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 24px; }
  .wcr-home .wcr-hero-bottom > p { max-width: none; }
  .wcr-home .wcr-hero-chapters { grid-column: 1; grid-row: 2; flex-wrap: wrap; }
  .wcr-home .wcr-hero-scroll { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 900px) {
  .wcr-home .wcr-hero-wrap { width: calc(100% - 40px); min-height: 0; }
  .wcr-home .wcr-hero-main { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 45px 0 32px; }
  .wcr-home .wcr-hero-copy { max-width: 590px; }
  .wcr-home .wcr-hero-description { font-size: 17px; }
  .wcr-home .wcr-hero-visual { max-width: 620px; margin: 0 auto; }
  .wcr-home .wcr-hero-bottom { padding: 24px 0 28px; }
  .wcr-home .wcr-hero-chapters { grid-column: 1 / -1; }
  .wcr-home .wcr-hero-scroll { grid-row: 1; }
}
@media (max-width: 600px) {
  .wcr-home .wcr-hero-chapters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 519px) {
  .wcr-home .wcr-hero-visual { width: calc(100% + 32px); max-width: none; margin: 0 -16px; }
  .wcr-home .wcr-hero-actions .btn { width: 100%; }
}
@media (max-width: 390px) {
  .wcr-home .wcr-hero-main { gap: 32px; padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .wcr-home .wcr-hero *, .wcr-home .wcr-hero *::before { animation: none !important; transition: none !important; }
}

/* Manual scene navigation uses the existing WCR rounded control treatment. */
.wcr-home .wcr-hero-controls{display:flex;justify-content:flex-end;gap:10px;max-width:760px;margin:8px auto 0;padding-inline:6%}
.wcr-home .wcr-hero-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #bfd6e841;border-radius:50%;background:transparent;color:#d4e3ec;cursor:pointer;transition:background .18s,border-color .18s}
.wcr-home .wcr-hero-controls button:hover{background:#153d54;border-color:#8bded8}
.wcr-home .wcr-hero-controls button:focus-visible{outline:3px solid #8bded8;outline-offset:4px}
.wcr-home .wcr-hero-controls svg{width:20px;height:20px}
.wcr-home .wcr-hero-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
