/* The "Sora" hero (Construct Design), styled exactly as the component ships,
   laid out at 1440 × 900 and scaled into its card by js/sora-mini.js.
   Fonts are linked in the page head. */
.dir__frame[data-sora] { position: relative; }
.sora-live { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .6s cubic-bezier(.2,.8,.2,1); }
.sora-live.is-live { opacity: 1; }

.sra-root {
  --sra-tone: #c8102e;
  --sra-ink: #121214;
  container-type: inline-size;
  position: absolute; left: 0; top: 0;
  width: 1440px; height: 900px;
  transform-origin: 0 0;
  overflow: hidden;
  isolation: isolate;
  background: #f7f7f5;
  color: var(--sra-ink);
  font-family: "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sra-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.sra-nav {
  position: absolute; z-index: 5; left: 44px; right: 44px; top: 30px;
  display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500;
}
.sra-logo { margin-right: auto; display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; color: var(--sra-tone); }
.sra-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sra-tone); }
.sra-links { display: flex; gap: 28px; }
.sra-links span { color: var(--sra-ink); opacity: .8; }
.sra-cta {
  font-size: 13.5px; font-weight: 500; color: #fff; background: var(--sra-tone);
  border-radius: 999px; padding: 10px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px -6px color-mix(in srgb, var(--sra-tone) 70%, transparent);
}

.sra-title {
  position: absolute; z-index: 3; left: 0; right: 0; top: 96px; margin: 0;
  text-align: center; color: var(--sra-tone); pointer-events: none;
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(56px, 9.17cqi, 140px); line-height: .9; letter-spacing: -.03em;
  will-change: transform;
}
.sra-title > span { display: block; overflow: hidden; padding: 0 .08em .06em; }
.sra-title > span > span { display: inline-block; animation: sra-rise 1s cubic-bezier(.2,.8,.2,1) both; }
.sra-l2 > span { animation-delay: .12s !important; }
.sra-title em { font-style: italic; }
@keyframes sra-rise { from { transform: translateY(105%); } to { transform: none; } }

.sra-fg { position: absolute; inset: 0; z-index: 4; pointer-events: none; transform: translate3d(var(--sra-px, 0px), var(--sra-py, 0px), 0); }
.sra-receipt {
  position: absolute; left: 56px; bottom: 52px; width: 236px; padding: 14px 18px;
  background: #fff; border-radius: 14px; font-size: 13px; color: var(--sra-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -12px rgba(60, 10, 20, .22);
  animation: sra-fade .8s .5s cubic-bezier(.2,.8,.2,1) both;
}
.sra-rtop, .sra-rrow { display: flex; justify-content: space-between; align-items: baseline; overflow: hidden; }
.sra-rtop { color: rgba(18,18,20,.55); }
.sra-now { font-size: 11.5px; }
.sra-rrow { margin-top: 4px; }
.sra-rrow b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sra-fx { color: #1a8f4c; font-weight: 500; }
.sra-roll { display: inline-block; animation: sra-roll .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sra-roll { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sra-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sra-copy {
  position: absolute; right: 56px; bottom: 56px; width: 300px; margin: 0;
  font-size: 15px; line-height: 1.45; text-align: right; color: var(--sra-ink);
  text-shadow: 0 0 10px #fff, 0 0 18px #fff, 0 0 28px rgba(255,255,255,.9);
  animation: sra-fade .8s .6s cubic-bezier(.2,.8,.2,1) both;
}

@media (prefers-reduced-motion: reduce) {
  .sra-title > span > span, .sra-receipt, .sra-copy, .sra-roll { animation: none !important; }
  .sora-live { transition: none; }
}

/* The other directions: Construct's own components, mounted live by
   js/directions.js at 1440 × 900 and scaled into the card. */
.dir__frame[data-design] { position: relative; }
.dir-live { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .6s cubic-bezier(.2,.8,.2,1); }
.dir-live.is-live { opacity: 1; }
/* Each design starts from a fresh page: none of this site's inherited type
   (18px body, its line height, Archivo) reaches it. */
.dir-live__stage {
  all: initial;
  display: block; position: absolute; left: 0; top: 0;
  width: 1440px; height: 900px; transform-origin: 0 0;
  font-family: system-ui, sans-serif; font-size: 16px; line-height: normal; color: #000;
}
@media (prefers-reduced-motion: reduce) { .dir-live { transition: none; } }
