/* A short CAD study is the single focal motion; the final vector is the default fallback. */
.cover { min-height: min(850px, 100svh); background: #151515; }
.cover-body { align-self: center; padding-block: clamp(34px, 5vw, 72px); align-items: center; }
.cover h1 { font-size: clamp(3.1rem, 6.3vw, 5.5rem); max-width: 10ch; }
.cover .lead { margin-top: 26px; font-size: 1.125rem; max-width: 36ch; color: #d3d3d3; }
.cover .cta { margin-top: 30px; }
.cover .cta .ghost { color: #fff; box-shadow: inset 0 0 0 1px #8d8d8d; }
.cover .cta .ghost:hover { color: var(--ink); background: #fff; }
.cover .top { padding-block: 24px; }
.cover .top nav { gap: 24px; }
.cover .top img { width: 112px; }
.cad-figure { min-width: 0; }
.cad-scene { position: relative; width: 100%; aspect-ratio: 800 / 620; overflow: hidden; }
.cad-fallback, .cad-scene canvas { display: block; width: 100%; height: 100%; }
.cad-scene canvas { position: absolute; inset: 0; visibility: hidden; }
.cad-figure[data-renderer="canvas"] canvas { visibility: visible; }
.cad-figure[data-renderer="canvas"] .cad-fallback { visibility: hidden; }
.motion-controls { display: flex; flex-wrap: wrap; gap: 0 22px; padding-top: 8px; min-height: 52px; }
.motion-controls button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #e6e6e6; cursor: pointer; font-size: .875rem; text-decoration: underline; text-underline-offset: .28em; }
.motion-controls button:hover { color: #f7a272; }
.motion-controls button[hidden] { display: none; }
.process { padding-block: clamp(60px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.process-heading { display: grid; gap: 20px; margin-bottom: 34px; }
.process h2 { font-size: clamp(2.5rem, 5vw, 4.25rem); max-width: 12ch; }
.process-heading p { max-width: 47ch; color: #545454; font-size: 1.125rem; }
.process-video { display: block; width: 100%; height: auto; aspect-ratio: 1912 / 1080; background: #151515; object-fit: contain; }
.video-frame { position: relative; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(18 18 18 / .55); color: #fff; cursor: pointer; transition: background .2s ease; }
.video-toggle:hover { background: rgb(18 18 18 / .8); }
.video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: inline; }
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.stages button { position: relative; display: grid; gap: 4px; width: 100%; min-height: 44px; padding: 14px 0 6px; border: 0; background: none; color: var(--mute); font: inherit; font-size: .9375rem; line-height: 1.25; text-align: left; cursor: pointer; transition: color .3s ease; }
.stages button::before, .stages button::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--line); }
.stages button::after { background: var(--orange); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .25s linear; }
.stages button span { font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.stages button.done, .stages button[aria-current="step"], .stages button:hover { color: var(--ink); }
.stages button[aria-current="step"] { font-weight: 600; }
.stages button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; }
  .stages button { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .stages button, .stages button::after { transition: none; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 960px) {
  .cover-body { grid-template-columns: .85fr 1.15fr; gap: 34px; }
  .process-heading { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
}
@media (max-width: 959px) {
  .cover { min-height: auto; }
  .cover-body { gap: 32px; padding-bottom: 40px; }
  .cad-figure { width: min(670px, 100%); justify-self: center; }
  .cad-scene { aspect-ratio: 800 / 520; }
  .cover h1 { max-width: 13ch; }
}
@media (max-width: 519px) {
  .cover .lead { margin-top: 22px; }
  .cover .cta { max-width: none; }
  .cover-body { gap: 12px; padding-top: 26px; }
  .cad-scene { aspect-ratio: 1.35; margin-top: 12px; }
  .cover .top { padding-block: 18px; gap: 12px; }
  .cover .top .btn { padding: 12px 14px; }
}

.cover .cta .ghost { background: transparent; }
.cover .cta .ghost:hover { background: #fff; }

/* IRT actions: a warm primary, a measured outline, and generous native targets. */
.btn { min-height: 52px; padding: 13px 18px; border: 1px solid transparent; border-radius: 4px; background: var(--orange); color: #121212; gap: 24px; transition: background-color .18s, border-color .18s, color .18s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: #ff8b45; color: #121212; }
.btn:active { background: #dc5b16; }
.btn:focus-visible { outline: 3px solid #121212; outline-offset: 4px; }
.cover .btn { background: var(--orange); color: #121212; }
.cover .btn:hover { background: #ff8b45; }
.cover .btn:focus-visible { outline-color: #fff; }
.cover .cta .ghost { border-color: #8d8d8d; box-shadow: none; background: transparent; color: #fff; }
.cover .cta .ghost:hover { border-color: #fff; background: #fff; color: #121212; }
.social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; color: #dedede; border-bottom: 1px solid transparent; }
.social-link svg { width: 20px; height: 20px; }
.cover .top nav .social-link { padding: 0; }
.social-link:hover { color: var(--orange); border-bottom-color: currentColor; }
.footer-logo { width: 115px; height: auto; margin-bottom: 34px; }
.fine { gap: 12px 30px; }
.fine span:last-child { max-width: 58ch; }
.cost { display: grid; gap: 30px 70px; padding-top: clamp(64px, 8vw, 104px); }
.cost h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); max-width: 12ch; }
.cost > div > p { margin-top: 18px; max-width: 43ch; color: #545454; }
.calc { padding: 26px 0 0; border-top: 1px solid #777; }
.rate { margin-bottom: 18px; font-size: 1.0625rem; }
.rate strong { font-weight: 600; }
.size label { display: block; margin-bottom: 8px; font-weight: 600; }
.size input { width: 100%; min-height: 44px; margin: 0; accent-color: var(--orange); cursor: pointer; }
.size input:focus-visible { outline: 3px solid #121212; outline-offset: 3px; }
.size .ends { display: flex; justify-content: space-between; color: #5b5b5b; font-size: .8125rem; }
.total { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.total output { display: block; font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.total p { margin-top: 12px; max-width: 55ch; font-size: .9375rem; color: #575757; }
.calc .btn { margin-top: 22px; }
@media (min-width: 960px) { .cost { grid-template-columns: .9fr 1.1fr; align-items: start; } }
@media (max-width: 519px) {
  .cover .top img { width: 92px; }
  .cover .top nav { gap: 7px; }
  .cover .top nav .social-link { min-width: 31px; }
  .cover .top .btn { min-height: 46px; padding: 10px 12px; gap: 10px; }
}
@media (forced-colors: active) {
  .btn, .cover .btn, .cover .cta .ghost { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
  .btn:focus-visible, .size input:focus-visible { outline-color: Highlight; }
  .social-link { color: LinkText; }
}
