/* ============================================================
   SatSure Website
   Slides exported 1:1 from the SatSure website section.
   ============================================================ */

:root { --s: 1; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #fff9f1;
  transition: background-color 420ms cubic-bezier(.65, 0, .35, 1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

body.is-dark { background: #000; }

#deck { position: fixed; inset: 0; }

/* panels stack; each new one covers the one before it */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  backface-visibility: hidden;
}

.slide.light { background: #fff9f1; }
.slide.dark  { background: #000; }

/* every panel but the first arrives over the last one, so it carries an edge shadow */
.slide + .slide { box-shadow: -26px 0 60px rgba(0, 0, 0, .16); }

.stage {
  position: relative;
  width: 1440px;
  height: 900px;
  flex: 0 0 auto;
  transform: scale(var(--s));
  transform-origin: center center;
}

.stage img {
  display: block;
  width: 1440px;
  height: 900px;
  user-select: none;
}

.hint {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 20;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .5px;
  color: rgba(138, 130, 113, .8);
  transition: opacity 600ms ease;
}

body.is-dark .hint { color: rgba(255, 249, 234, .35); }
.hint.gone { opacity: 0; }

/* Nav hotspots — the nav itself is baked into the frame exports, so these
   invisible anchors sit exactly over it. They carry the hover outline, since
   a picture cannot have one: no ring at rest, a ring on hover, matching the
   landing page. box-sizing is border-box, so the border does not resize them. */
.back-hit {
  position: fixed;
  z-index: 30;
  display: block;
  border: 1px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

/* nav type is #272626 on light slides, #FFF9E9 on dark ones */
.back-hit:hover,
.back-hit:focus-visible { border-color: rgba(39, 38, 38, 0.9); }
body.is-dark .back-hit:hover,
body.is-dark .back-hit:focus-visible { border-color: rgba(255, 249, 234, 0.9); }

.back-hit:focus-visible { outline: 2px solid #fc9073; outline-offset: 2px; }

/* "Next project" — appears only on the last slide, so the deck hands off to
   the next case study instead of dead-ending. Same ring-on-hover language as
   the nav hotspots. */
.next-up {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(39, 38, 38, .25);
  border-radius: 99px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(39, 38, 38, .85);
  text-decoration: none;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease, border-color 250ms ease;
}
.next-up.is-on { opacity: 1; pointer-events: auto; transform: none; }
.next-up:hover,
.next-up:focus-visible { border-color: rgba(39, 38, 38, .9); }
.next-up b { font-weight: 400; text-transform: none; font-size: 12px; }

body.is-dark .next-up {
  border-color: rgba(255, 249, 234, .3);
  color: rgba(255, 249, 234, .9);
  background: rgba(0, 0, 0, .45);
}
body.is-dark .next-up:hover,
body.is-dark .next-up:focus-visible { border-color: rgba(255, 249, 234, .9); }

@media (prefers-reduced-motion: reduce) {
  .next-up { transition: none; transform: none; }
}
