/* One continuous arc, with the words in its quiet center. */
.orbit-hero { position: relative; display: block; height: 660px; padding: 0; margin-inline: -32px; isolation: isolate; }
.hero-copy { position: absolute; z-index: 2; top: 276px; left: 50%; width: min(680px, 68%); transform: translateX(-50%); text-align: center; pointer-events: none; }
.hero-copy h1 { font-size: clamp(2.9rem, 5.8vw, 4.65rem); line-height: 1.02; letter-spacing: -.055em; margin: 17px 0 21px; }
.hero-copy p { margin-inline: auto; }
.hero-copy .intro { font-size: 1.07rem; line-height: 1.65; }
.hero-copy .actions { justify-content: center; margin-top: 24px; gap: 26px; pointer-events: auto; }
.hero-copy .actions > a { font-size: .88rem; }
.hero-copy .primary { background: var(--ink); color: var(--paper); padding: 11px 21px; border-radius: 7px; }
.hero-copy .primary span { margin-left: 11px; }
.arc-showcase, .arc-canvas, .arc-models { position: absolute; inset: 0; }
.arc-showcase { overflow: hidden; z-index: 1; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.arc-canvas { pointer-events: none; }
.arc-canvas canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.arc-showcase[data-state=ready] canvas { opacity: 1; }
.arc-model { position: absolute; left: 50%; top: 0; width: 142px; height: 142px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; transform: translate(-50%, -50%); touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.arc-model img { display: block; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s; filter: drop-shadow(0 20px 13px #3849370b); }
.arc-model[data-loaded=true] img { opacity: 0; }
.arc-model:hover:not(:disabled) { box-shadow: none; }
.arc-model:focus-visible { outline: 1px solid var(--muted); outline-offset: 0; }
/* First paint stays complete even before the renderer is available. */
.arc-model:nth-child(1) { left: 9%; top: 414px; }
.arc-model:nth-child(2) { left: 18%; top: 248px; }
.arc-model:nth-child(3) { left: 32%; top: 130px; }
.arc-model:nth-child(4) { left: 50%; top: 86px; }
.arc-model:nth-child(5) { left: 68%; top: 130px; }
.arc-model:nth-child(6) { left: 82%; top: 248px; }
.arc-model:nth-child(7) { left: 91%; top: 414px; }
.create-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 56px 0 64px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.create-copy h2 { font-size: 2.4rem; margin-top: 17px; }
.create-copy > p { color: var(--muted); max-width: 36ch; }
.create-copy .note { font-size: .8rem; line-height: 1.8; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .orbit-hero { margin-inline: -20px; height: 610px; }
  .hero-copy { top: 275px; width: calc(100% - 38px); max-width: 470px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 9vw, 3.65rem); margin-top: 17px; }
  .hero-copy .intro { font-size: .92rem; max-width: 32ch; }
  .desktop-break { display: none; }
  .hero-copy .actions { gap: 20px; margin-top: 23px; }
  .hero-copy .actions > a { font-size: .8rem; }
  .arc-model { width: 78px; height: 78px; }
  .arc-model:nth-child(1) { left: 10%; top: 231px; }
  .arc-model:nth-child(2) { left: 18%; top: 159px; }
  .arc-model:nth-child(3) { left: 32%; top: 100px; }
  .arc-model:nth-child(4) { left: 50%; top: 78px; }
  .arc-model:nth-child(5) { left: 68%; top: 100px; }
  .arc-model:nth-child(6) { left: 82%; top: 159px; }
  .arc-model:nth-child(7) { left: 90%; top: 231px; }
  .create-layout { grid-template-columns: 1fr; gap: 22px; padding: 36px 0 44px; }
  .create-copy h2 { font-size: 1.9rem; }
  .create-copy > p { max-width: 42ch; }
}
@media (prefers-reduced-motion: reduce) {
  .arc-model img, .arc-canvas canvas { transition: none; }
}

/* The downloadable model collection is the landing-page showcase. */
.model-showcase { padding-top: 54px; padding-bottom: 52px; }
.showcase-intro { text-align: center; margin: 0 auto 44px; }
.showcase-intro .eyebrow { font-size: .65rem; letter-spacing: .17em; color: var(--muted); margin-bottom: 22px; }
.showcase-intro h1 { font-size: clamp(2.7rem, 5.5vw, 4.7rem); line-height: 1.04; letter-spacing: -.055em; margin: 0 0 24px; }
.showcase-intro .intro { margin-inline: auto; font-size: 1rem; line-height: 1.7; }
.showcase-intro .actions { justify-content: center; gap: 26px; margin-top: 26px; font-size: .85rem; }
.showcase-footnote { font-size: .75rem; color: var(--muted); margin: 30px 0 0; }
@media (max-width: 700px) {
 .model-showcase { padding-top: 28px; }
 .showcase-intro { margin-bottom: 30px; }
 .showcase-intro .intro { font-size: .9rem; }
 .showcase-intro .actions { gap: 20px; font-size: .78rem; }
 .model-showcase .gallery-grid { gap: 28px; }
}

@media (min-width: 900px) {
 .model-showcase { display: grid; grid-template-columns: .84fr 1.16fr; column-gap: 34px; align-items: center; padding-top: 42px; }
 .showcase-intro { text-align: left; margin: 0 0 30px; }
 .showcase-intro .eyebrow { margin-inline: 0; font-size: .59rem; }
 .showcase-intro h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
 .showcase-intro .intro { font-size: .92rem; }
 .showcase-intro .actions { justify-content: start; gap: 18px; font-size: .75rem; }
 .model-showcase > .gallery-grid, .showcase-footnote { grid-column: 1 / -1; }
 .model-showcase > .gallery-grid { margin-top: 20px; }
}

/* Models are the page: live geometry on open paper, with no card or launch step. */
.gallery-grid { display: grid; }
.model-piece { min-width: 0; }
.model-stage { position: relative; height: 390px; touch-action: pan-y; cursor: grab; isolation: isolate; }
.model-stage:active { cursor: grabbing; }
.model-stage:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.model-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.model-stage canvas { opacity: 0; transition: opacity .5s ease; touch-action: pan-y !important; }
.model-stage[data-state=ready] canvas { opacity: 1; }
.model-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .72rem; }
.model-links a, .model-links button { min-height: 44px; display: inline-flex; align-items: center; }
.model-links button { border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.model-links button[hidden] { display: none; }
.model-status { color: var(--muted); margin-right: auto; }
.model-feature .model-stage { height: 500px; }
.model-showcase > .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }


@media (max-width: 700px) {
 .model-feature .model-stage, .model-stage { height: 330px; }
 .model-showcase > .gallery-grid { grid-template-columns: 1fr; gap: 28px; }

 .model-links { gap: 4px 14px; }
}
@media (prefers-reduced-motion: reduce) { .model-stage canvas { transition: none; } }

.model-spinner { position: absolute; left: calc(50% - 12px); top: calc(50% - 12px); width: 24px; height: 24px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: model-spin .8s linear infinite; }
.model-stage:not([data-state=loading]) .model-spinner { display: none; }
.model-load-error { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.model-stage[data-state=error] .model-load-error { display: flex; }
.model-stage[data-state=error] { cursor: default; }
.model-load-error button { min-height: 44px; }
@keyframes model-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .model-spinner { animation: none; } }
