@font-face {
  font-family: "Arion Hero Golos";
  src: url("fonts/Golos-Text-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

/* Adapted from the supplied first-screen prototype. Styles stay inside the hero. */
.hero-orbit { --paper: #f4f8fc; --ink: #184c6f; --quiet: #526673; background: var(--paper); color: var(--ink); font-family: "Arion Hero Golos", "Segoe UI", Arial, sans-serif; }
.hero-orbit .hero-orbit-layout { width: calc(100% - 48px); margin-inline: auto; }
.hero-orbit .action { display: inline-flex; align-items: center; justify-content: center; text-align: center; border: 1px solid transparent; cursor: pointer; font-weight: 600; line-height: 1.2; }
.hero-orbit button { font: inherit; color: inherit; }
.hero-orbit :focus-visible { outline: 2px solid #287eb6; outline-offset: 4px; }
.hero-orbit .hero-orbit-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(24px, 3.5vw, 64px); padding-block: 16px clamp(28px, 3vw, 56px);
}
.hero-orbit .hero-copy { min-width: 0; width: 100%; max-width: 680px; padding-block: 16px 36px; }
/* Keep the title on two lines on desktop; allow the first phrase to wrap on phones. */
.hero-orbit h1 { margin: 0; font: 400 clamp(40px, 3.5vw, 64px)/1.08 "Times New Roman", Times, serif; letter-spacing: -.035em; }
.hero-orbit h1 span { display: block; white-space: nowrap; }
.hero-orbit .hero-copy p { margin: clamp(20px, 2.2vw, 32px) 0 0; color: var(--quiet); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.6; text-wrap: pretty; }
.hero-orbit .hero-actions { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: clamp(22px, 2.2vw, 36px); max-width: 570px; }
.hero-orbit .hero-actions .action { flex: 1 1 0; min-height: 54px; padding-inline: 12px; border-radius: 12px; font-size: clamp(13px, 1.12vw, 17px); }
.hero-orbit .primary { background: #184d6f; color: white; }
.hero-orbit .secondary { background: transparent; border-color: #c2d1d9; }
.hero-orbit .primary:hover { background: #164362; }
.hero-orbit .secondary:hover { background: #e9f2f9; }
.hero-orbit .artboard {
  position: relative; justify-self: center; width: 100%; max-width: 840px; aspect-ratio: 780/660;
  container-type: inline-size; isolation: isolate; touch-action: pan-y; cursor: grab;
}
.hero-orbit .artboard.dragging, .hero-orbit .artboard.dragging .orbit-card { cursor: grabbing; }
.hero-orbit .art { --a: calc(100cqw / 780); position: absolute; inset: 0; user-select: none; }
.hero-orbit .horse-clips { position: absolute; }
.hero-orbit .horse, .hero-orbit .horse-fade { position: absolute; inset: 0; pointer-events: none; }
.hero-orbit .horse-back { z-index: 1; clip-path: url(#horse-back-clip); }
.hero-orbit .horse-front { z-index: 5; clip-path: url(#horse-front-clip); }
.hero-orbit .horse-layer { position: absolute; display: block; object-fit: fill; }
.hero-orbit .mane-lines { left: calc(160.54 * var(--a)); top: calc(141.39 * var(--a)); width: calc(264.108 * var(--a)); height: calc(322.033 * var(--a)); }
.hero-orbit .mane-nodes { left: calc(175.916 * var(--a)); top: calc(137.519 * var(--a)); width: calc(253.020 * var(--a)); height: calc(328.046 * var(--a)); }
.hero-orbit .highlight { left: calc(396.22 * var(--a)); top: calc(335.88 * var(--a)); width: calc(124.113 * var(--a)); height: calc(310.342 * var(--a)); }
.hero-orbit .horse-layer.body { left: calc(27 * var(--a)); top: calc(101 * var(--a)); width: calc(693.147 * var(--a)); height: calc(544.161 * var(--a)); object-fit: contain; }
.hero-orbit .eye {
  left: calc(10.31 * var(--a)); top: calc(95.14 * var(--a)); width: calc(710.95 * var(--a)); height: calc(558.138 * var(--a)); object-fit: contain;
  mask: radial-gradient(ellipse closest-side, #fff 65%, #fff0 100%) no-repeat;
  mask-size: calc(63.672 * var(--a)) calc(42.781 * var(--a));
  mask-position: calc(427.605 * var(--a)) calc(143.762 * var(--a));
}
.hero-orbit .horse-fade { z-index: 2; top: calc(468 * var(--a)); background: linear-gradient(to bottom, transparent, var(--paper) calc(169 * var(--a))); }
.hero-orbit .orbit-card {
  display: block; padding: 0; width: calc(172 * var(--a)); height: calc(172 * var(--a)); background: transparent;
  position: absolute; top: 0; left: 0; border: 0; z-index: 3; border-radius: calc(12 * var(--a));
  transform: translate3d(calc(var(--x) * var(--a)), calc(var(--y) * var(--a)), 0); cursor: grab;
}
.hero-orbit .orbit-card.is-active { z-index: 4; }
.hero-orbit .card-surface {
  display: block; position: absolute; inset: 0; border: 1px solid #b8d4e2d9; background: #f8fbfdf5;
  border-radius: inherit; padding: calc(6 * var(--a)); pointer-events: none;
  transition: transform .42s cubic-bezier(.2,.7,.23,1), box-shadow .42s ease;
}
.hero-orbit .card-surface::before {
  content: ""; position: absolute; inset: calc(6 * var(--a)); border-radius: calc(7 * var(--a));
  background: linear-gradient(#4d9ecc, #184c6f);
}
.hero-orbit .universities .card-surface::before { background: linear-gradient(#67a2cd, #184c6f); }
.hero-orbit .science { --image-size: 118; --image-y: -9; }
.hero-orbit .technology { --image-size: 98; --image-y: 0; }
.hero-orbit .innovation { --image-size: 96; --image-y: -1; }
.hero-orbit .universities { --image-size: 118; --image-y: 1; --image-flip: -1; }
.hero-orbit .development { --image-size: 102; --image-y: 1; }
.hero-orbit .card-art { position: absolute; inset: calc(9 * var(--a)) calc(8 * var(--a)) auto; height: calc(104 * var(--a)); overflow: hidden; }
.hero-orbit .card-art img {
  position: absolute; left: 50%; top: 50%; width: calc(var(--image-size) * var(--a)); height: calc(var(--image-size) * var(--a));
  object-fit: contain; transform: translate(-50%, calc(-50% + var(--image-y) * var(--a))) scaleX(var(--image-flip, 1));
}
.hero-orbit .card-label {
  position: absolute; top: calc(135 * var(--a)); inset-inline: calc(12 * var(--a));
  transform: translateY(-50%);
  color: white; text-align: center;
  font: 500 calc(14.5 * var(--a))/calc(18 * var(--a)) "Arion Hero Golos", "Segoe UI", Arial, sans-serif;
}
.hero-orbit .orbit-card.is-active .card-surface {
  transform: translate3d(calc(var(--lift-x) * var(--a)), calc(var(--lift-y) * var(--a)), 0) scale(1.09);
  box-shadow: 0 9px 28px #184c6f38;
}


@media (min-width: 1181px) {
  .hero-orbit .hero-orbit-layout { width: min(calc(100% - clamp(64px, 8vw, 192px)), 1640px); }
}
@media (min-width: 641px) {
  .hero-orbit .hero-copy p { text-wrap: balance; }
}
@media (max-width: 1080px) {
  .hero-orbit .hero-orbit-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-orbit .hero-copy { max-width: 680px; }
  .hero-orbit .artboard { max-width: 760px; }
}
@media (max-width: 860px) {
  .hero-orbit .hero-orbit-layout { width: calc(100% - 32px); }
}
@media (max-width: 640px) {
  .hero-orbit .hero-orbit-layout { padding-block: 12px 18px; }
  .hero-orbit .hero-copy { padding: 20px 0 8px; }
  .hero-orbit h1 { font-size: clamp(36px, 6.25vw, 40px); }
  .hero-orbit h1 .hero-title-start { white-space: normal; }
  .hero-orbit .hero-copy p { margin-top: 16px; font-size: 16px; line-height: 1.55; }
  .hero-orbit .hero-actions { flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .hero-orbit .hero-actions .action { flex: 1 1 150px; min-height: 42px; padding: 10px; }
  .hero-orbit .artboard { margin-top: 4px; }
  .hero-orbit .card-label { font-size: max(6.25px, calc(15.5 * var(--a))); line-height: 1.12; inset-inline: 3px; }
}
@media (max-width: 375px) {
  .hero-orbit .card-label { font-size: max(6px, calc(14.5 * var(--a))); inset-inline: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit .card-surface { transition: none; }
  .hero-orbit .orbit-card.is-active .card-surface { transform: none; }
}
