/* Star Mark Solar Portfolio — code-only interactive service system */
.solar-portfolio {
  --solar-gold: var(--gold, #eac266);
  --solar-gold-rgb: var(--gold-rgb, 234, 194, 102);
  --solar-text: var(--text, #f7f8fc);
  --solar-muted: var(--muted, #9aa7bd);
  --solar-line: var(--line, rgba(255,255,255,.11));
  --solar-surface: var(--surface-strong, rgba(8,14,33,.96));
  position: relative;
  isolation: isolate;
  min-height: 780px;
  margin-top: 36px;
}
.solar-portfolio__viewport {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--solar-line);
  border-radius: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--solar-gold-rgb), .08), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(var(--accent-rgb, 98,223,247), .09), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(var(--accent-2-rgb, 124,111,255), .08), transparent 30%),
    linear-gradient(150deg, rgba(8, 15, 34, .92), rgba(2, 6, 16, .98));
  box-shadow: 0 36px 110px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.04);
  perspective: 1500px;
  transform-style: preserve-3d;
}
.solar-portfolio__viewport::before,
.solar-portfolio__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.solar-portfolio__viewport::before {
  opacity: .25;
  background-image:
    radial-gradient(circle at 10% 15%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 9%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 93% 38%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 16% 73%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 62% 84%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 28%, rgba(255,255,255,.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 45% 70%, rgba(255,255,255,.7) 0 1px, transparent 1.7px);
  background-size: 220px 220px, 280px 280px, 330px 330px, 260px 260px, 370px 370px, 190px 190px, 310px 310px;
  animation: solar-stars-drift 26s linear infinite;
}
.solar-portfolio__viewport::after {
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.025) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: solar-scan 10s ease-in-out infinite;
}
@keyframes solar-stars-drift { to { background-position: 80px 50px, -70px 90px, 120px -80px, -90px -60px, 60px 100px, -40px 60px, 110px -50px; } }
@keyframes solar-scan { 0%, 66% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

.solar-stage {
  --focus-origin-x: 50%;
  --focus-origin-y: 50%;
  --focus-shift-x: 0px;
  --focus-shift-y: 0px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(720px, 78vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translate3d(0,0,0) scale(1);
  transform-origin: var(--focus-origin-x) var(--focus-origin-y);
  transform-style: preserve-3d;
  transition: transform .74s cubic-bezier(.18,.82,.2,1), filter .5s ease;
  will-change: transform;
}
.solar-portfolio.is-zoomed .solar-stage {
  transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(1.72);
  filter: saturate(1.08);
}
.solar-stage__plane {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  opacity: .28;
  background: radial-gradient(circle, transparent 54%, rgba(var(--solar-gold-rgb),.08) 55%, transparent 56%);
  transform: rotateX(68deg) translateZ(-38px);
  box-shadow: inset 0 0 60px rgba(var(--solar-gold-rgb),.05);
}

.solar-sun {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  width: clamp(118px, 18%, 148px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(45px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--solar-gold-rgb), .52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(255,255,255,.28), transparent 22%),
    radial-gradient(circle, rgba(var(--solar-gold-rgb),.24), rgba(14,16,30,.94) 66%);
  box-shadow:
    0 0 0 12px rgba(var(--solar-gold-rgb), .035),
    0 0 0 30px rgba(var(--solar-gold-rgb), .018),
    0 0 70px rgba(var(--solar-gold-rgb), .25),
    inset 0 0 30px rgba(var(--solar-gold-rgb), .12);
  animation: solar-pulse 4.8s ease-in-out infinite;
}
.solar-sun::before,
.solar-sun::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(var(--solar-gold-rgb), .18);
  border-radius: 50%;
  animation: solar-corona 6s linear infinite;
}
.solar-sun::before { inset: -19px; }
.solar-sun::after { inset: -36px; animation-direction: reverse; animation-duration: 9s; }
.solar-sun picture,
.solar-sun img { width: 72%; height: 72%; }
.solar-sun img { object-fit: contain; filter: drop-shadow(0 0 16px rgba(var(--solar-gold-rgb), .3)); }
.solar-sun__label {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(var(--solar-gold-rgb), .24);
  border-radius: 999px;
  color: var(--solar-gold-light, #ffe7a5);
  background: rgba(4,8,18,.82);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .14em;
}
@keyframes solar-pulse { 50% { box-shadow: 0 0 0 16px rgba(var(--solar-gold-rgb), .03), 0 0 0 35px rgba(var(--solar-gold-rgb), .012), 0 0 90px rgba(var(--solar-gold-rgb), .32), inset 0 0 34px rgba(var(--solar-gold-rgb), .18); } }
@keyframes solar-corona { to { transform: rotate(1turn); } }

.solar-orbit {
  --orbit-size: 50%;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: var(--orbit-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(var(--orbit-z, 0));
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(255,255,255,.012);
}
.solar-orbit::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 20deg, transparent 0 30%, rgba(var(--orbit-rgb, 98,223,247), .42) 36%, transparent 43% 78%, rgba(var(--orbit-rgb, 98,223,247), .25) 84%, transparent 90%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: .45;
}
.solar-runner {
  --duration: 24s;
  --delay: 0s;
  --orbit-turn: 1turn;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: solar-orbit-run var(--duration) linear var(--delay) infinite;
  animation-play-state: running;
}
.solar-runner__counter {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  animation: solar-counter-run var(--duration) linear var(--delay) infinite;
  animation-play-state: running;
}
@keyframes solar-orbit-run { to { transform: rotate(var(--orbit-turn)); } }
@keyframes solar-counter-run { to { transform: translate(-50%, -50%) rotate(calc(var(--orbit-turn) * -1)); } }
.solar-portfolio.is-paused .solar-runner,
.solar-portfolio.is-paused .solar-runner__counter,
.solar-portfolio.is-dormant .solar-runner,
.solar-portfolio.is-dormant .solar-runner__counter,
.solar-orbit:hover .solar-runner,
.solar-orbit:hover .solar-runner__counter,
.solar-orbit:focus-within .solar-runner,
.solar-orbit:focus-within .solar-runner__counter { animation-play-state: paused; }

.solar-planet {
  --planet-rgb: 98,223,247;
  position: relative;
  width: clamp(58px, 7vw, 78px);
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--planet-rgb), .44);
  border-radius: 50%;
  color: rgb(var(--planet-rgb));
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.22), transparent 23%),
    radial-gradient(circle at 60% 68%, rgba(var(--planet-rgb), .22), rgba(5,9,23,.96) 68%);
  box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 24px rgba(var(--planet-rgb), .12), inset 0 0 20px rgba(var(--planet-rgb), .08);
  cursor: pointer;
  transform: translateZ(30px) scale(1);
  transition: transform .3s var(--ease, ease), opacity .3s ease, border-color .3s ease, box-shadow .3s ease;
  touch-action: manipulation;
}
.solar-planet::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(var(--planet-rgb), .13);
  border-radius: 50%;
  transform: rotateX(67deg) rotateZ(-14deg);
}
.solar-planet svg { width: 34%; height: 34%; filter: drop-shadow(0 0 8px rgba(var(--planet-rgb), .34)); }
.solar-planet__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%);
  max-width: 150px;
  min-width: max-content;
  padding: 5px 8px;
  border: 1px solid rgba(var(--planet-rgb), .2);
  border-radius: 999px;
  color: var(--solar-text);
  background: rgba(4,8,18,.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .55rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
  pointer-events: none;
}
.solar-planet:hover,
.solar-planet:focus-visible {
  transform: translateZ(42px) scale(1.12);
  border-color: rgba(var(--planet-rgb), .88);
  box-shadow: 0 14px 35px rgba(0,0,0,.42), 0 0 36px rgba(var(--planet-rgb), .28), inset 0 0 24px rgba(var(--planet-rgb), .12);
}
.solar-portfolio.is-zoomed .solar-planet:not(.is-selected) { opacity: .2; transform: translateZ(0) scale(.78); }
.solar-portfolio.is-zoomed .solar-planet.is-selected {
  z-index: 50;
  transform: translateZ(76px) scale(1.2);
  border-color: rgba(var(--planet-rgb), 1);
  box-shadow: 0 18px 44px rgba(0,0,0,.46), 0 0 54px rgba(var(--planet-rgb), .42), inset 0 0 26px rgba(var(--planet-rgb), .18);
}
.solar-portfolio.is-zoomed .solar-sun { opacity: .32; }

.solar-portfolio__legend {
  position: absolute;
  z-index: 8;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--solar-muted);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.solar-portfolio__legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--solar-gold); box-shadow: 0 0 12px rgba(var(--solar-gold-rgb), .55); }
.solar-portfolio__hint {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--solar-muted);
  font-size: .82rem;
  text-align: center;
}
.solar-portfolio__hint svg { width: 17px; height: 17px; color: var(--solar-gold); }

.solar-panel {
  --active-rgb: 98,223,247;
  position: fixed;
  z-index: 2400;
  top: 50%;
  right: clamp(18px, 5vw, 82px);
  left: auto;
  width: min(440px, calc(100vw - 36px));
  max-height: min(82dvh, 760px);
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(var(--active-rgb), .36);
  border-radius: 28px;
  color: var(--solar-text);
  background: rgba(5,10,24,.96);
  box-shadow: 0 38px 120px rgba(0,0,0,.66), 0 0 54px rgba(var(--active-rgb), .1);
  transform: translateY(-50%) translateX(0) scale(1);
  opacity: 1;
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  backdrop-filter: blur(28px) saturate(130%);
  animation: solar-panel-in .38s cubic-bezier(.18,.82,.2,1) both;
}
.solar-panel::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(44px, 7vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--active-rgb), .76));
  box-shadow: 0 0 12px rgba(var(--active-rgb), .42);
}
.solar-panel::backdrop {
  background: rgba(0, 2, 10, .32);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.solar-panel.is-closing { animation: solar-panel-out .22s ease both; }
@keyframes solar-panel-in { from { opacity: 0; transform: translateY(-50%) translateX(34px) scale(.94); } }
@keyframes solar-panel-out { to { opacity: 0; transform: translateY(-50%) translateX(24px) scale(.96); } }
.solar-panel__inner { max-height: min(82dvh, 760px); overflow: auto; padding: 28px; border-radius: inherit; }
.solar-panel__close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--solar-text);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.solar-panel__close svg { width: 18px; height: 18px; }
.solar-panel__close:hover,
.solar-panel__close:focus-visible { color: rgb(var(--active-rgb)); border-color: rgba(var(--active-rgb), .5); }
.solar-panel__head { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding-right: 44px; }
.solar-panel__icon {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--active-rgb), .36);
  border-radius: 18px;
  color: rgb(var(--active-rgb));
  background: rgba(var(--active-rgb), .08);
  box-shadow: inset 0 0 20px rgba(var(--active-rgb), .06);
}
.solar-panel__icon svg { width: 27px; height: 27px; }
.solar-panel__eyebrow { margin: 0 0 4px; color: rgb(var(--active-rgb)); font-size: .61rem; font-weight: 950; letter-spacing: .15em; }
.solar-panel h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.02; letter-spacing: -.035em; }
.solar-panel__description { margin: 20px 0 0; color: var(--solar-muted); font-size: .94rem; line-height: 1.7; }
.solar-panel__mockup {
  position: relative;
  min-height: 190px;
  margin: 22px 0;
  overflow: hidden;
  border: 1px solid rgba(var(--active-rgb), .22);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 74% 24%, rgba(var(--active-rgb), .16), transparent 30%),
    rgba(2,7,18,.88);
  background-size: 22px 22px, 22px 22px, auto, auto;
}
.solar-panel__mockup::before { content: "PORTFOLIO_BUILD_08"; position: absolute; left: 14px; top: 12px; color: rgba(255,255,255,.42); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .55rem; letter-spacing: .12em; }
.solar-mockup__rail { position: absolute; left: 13px; top: 36px; bottom: 13px; width: 38px; display: grid; align-content: start; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.025); }
.solar-mockup__rail i { height: 5px; border-radius: 999px; background: rgba(var(--active-rgb), .34); }
.solar-mockup__canvas { position: absolute; left: 62px; right: 14px; top: 36px; bottom: 56px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: linear-gradient(145deg, rgba(var(--active-rgb), .12), rgba(255,255,255,.015)); }
.solar-mockup__canvas svg { width: 46px; height: 46px; color: rgb(var(--active-rgb)); filter: drop-shadow(0 0 18px rgba(var(--active-rgb), .35)); }
.solar-mockup__canvas::after { content: "CASE STUDY IN CONSTRUCTION"; position: absolute; bottom: 12px; color: rgba(255,255,255,.54); font-size: .52rem; font-weight: 850; letter-spacing: .13em; }
.solar-mockup__timeline { position: absolute; left: 62px; right: 14px; bottom: 13px; height: 32px; display: grid; grid-template-columns: 1.1fr .7fr 1.4fr .55fr; gap: 5px; }
.solar-mockup__timeline i { border-radius: 5px; background: rgba(var(--active-rgb), .28); box-shadow: inset 0 0 0 1px rgba(var(--active-rgb), .15); }
.solar-mockup__timeline i:nth-child(2) { opacity: .58; }
.solar-mockup__timeline i:nth-child(3) { opacity: .82; }
.solar-mockup__timeline i:nth-child(4) { opacity: .42; }
.solar-panel__list { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.solar-panel__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--solar-muted); font-size: .82rem; line-height: 1.45; }
.solar-panel__list li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; margin-top: .46em; border-radius: 50%; background: rgb(var(--active-rgb)); box-shadow: 0 0 10px rgba(var(--active-rgb), .45); }
.solar-panel__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.solar-panel__actions .button { min-height: 46px; padding-inline: 17px; }
.solar-panel__secondary { min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: var(--solar-text); background: rgba(255,255,255,.025); font-size: .78rem; font-weight: 850; text-decoration: none; cursor: pointer; }
.solar-panel__secondary:hover,
.solar-panel__secondary:focus-visible { border-color: rgba(var(--active-rgb), .48); color: rgb(var(--active-rgb)); }

@media (max-width: 980px) {
  .solar-portfolio { min-height: 700px; }
  .solar-portfolio__viewport { min-height: 680px; }
  .solar-stage { width: min(650px, 88vw); }
  .solar-portfolio.is-zoomed .solar-stage { transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(1.48); }
  .solar-panel { right: 18px; }
}
@media (max-width: 720px) {
  .solar-portfolio { min-height: 610px; margin-top: 24px; }
  .solar-portfolio__viewport { min-height: 590px; border-radius: 28px; }
  .solar-stage { width: min(560px, 118vw); }
  .solar-sun { width: 104px; }
  .solar-sun__label { display: none; }
  .solar-planet { width: 58px; }
  .solar-planet__label { display: none; }
  .solar-portfolio__legend { left: 16px; bottom: 14px; font-size: .58rem; }
  .solar-portfolio.is-zoomed .solar-stage { transform: translate(-50%, -50%) scale(1.08); opacity: .38; }
  .solar-panel {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: min(82dvh, 720px);
    transform: none;
    border-radius: 24px;
    animation-name: solar-panel-in-mobile;
  }
  .solar-panel.is-closing { animation-name: solar-panel-out-mobile; }
  .solar-panel::before { display: none; }
  .solar-panel__inner { max-height: min(82dvh, 720px); padding: 24px 20px; }
  @keyframes solar-panel-in-mobile { from { opacity: 0; transform: translateY(30px) scale(.97); } }
  @keyframes solar-panel-out-mobile { to { opacity: 0; transform: translateY(22px) scale(.98); } }
}
@media (max-width: 430px) {
  .solar-portfolio { min-height: 540px; }
  .solar-portfolio__viewport { min-height: 520px; }
  .solar-stage { width: 130vw; }
  .solar-sun { width: 88px; }
  .solar-planet { width: 52px; }
  .solar-panel__head { grid-template-columns: 50px 1fr; }
  .solar-panel__icon { width: 50px; border-radius: 15px; }
  .solar-panel__mockup { min-height: 164px; }
  .solar-panel__actions { display: grid; }
  .solar-panel__actions .button,
  .solar-panel__secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .solar-portfolio *,
  .solar-portfolio *::before,
  .solar-portfolio *::after,
  .solar-panel,
  .solar-panel * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .solar-runner, .solar-runner__counter { animation-play-state: paused !important; }
}
html.reduce-motion .solar-runner,
html.reduce-motion .solar-runner__counter { animation-play-state: paused !important; }
html.reduce-motion .solar-stage { transition-duration: .01ms !important; }

/* =========================================================
   Solar Portfolio v2 — reliable hit targets, light jump and
   service-specific capsules. No raster/generated placeholders.
   ========================================================= */
.solar-stage {
  --solar-zoom-scale: 1.86;
  --solar-jump-peak: 3.65;
  transition: transform .82s cubic-bezier(.16,.82,.18,1), filter .5s ease, opacity .45s ease;
}
.solar-stage__plane,
.solar-sun,
.solar-orbit,
.solar-runner,
.solar-runner__counter {
  pointer-events: none;
}
.solar-planet {
  z-index: 12;
  pointer-events: auto;
  isolation: isolate;
}
.solar-portfolio.is-hover-paused .solar-runner,
.solar-portfolio.is-hover-paused .solar-runner__counter,
.solar-portfolio.is-focus-paused .solar-runner,
.solar-portfolio.is-focus-paused .solar-runner__counter {
  animation-play-state: paused;
}
.solar-portfolio.is-zoomed .solar-stage {
  transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(var(--solar-zoom-scale));
}
.solar-portfolio.is-jumping .solar-stage {
  animation: solar-stage-light-jump .94s cubic-bezier(.15,.78,.1,1) both;
}
.solar-portfolio.is-returning .solar-stage {
  animation: solar-stage-light-return .86s cubic-bezier(.2,.74,.16,1) both;
}
@keyframes solar-stage-light-jump {
  0% {
    transform: translate(-50%, -50%) translate3d(0,0,0) scale(1);
    filter: saturate(1) brightness(1) blur(0);
  }
  18% {
    transform: translate(-50%, -50%) translate3d(0,0,0) scale(.965);
    filter: saturate(1.08) brightness(.86) blur(0);
  }
  62% {
    transform: translate(-50%, -50%) translate3d(calc(var(--focus-shift-x) * .5), calc(var(--focus-shift-y) * .5), 0) scale(1.38);
    filter: saturate(1.35) brightness(1.16) blur(.35px);
  }
  82% {
    transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(var(--solar-jump-peak));
    filter: saturate(1.8) brightness(2.15) blur(2.2px);
  }
  100% {
    transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(var(--solar-zoom-scale));
    filter: saturate(1.1) brightness(1) blur(0);
  }
}
@keyframes solar-stage-light-return {
  0% {
    transform: translate(-50%, -50%) translate3d(var(--focus-shift-x), var(--focus-shift-y), 0) scale(var(--solar-zoom-scale));
    filter: saturate(1.1) brightness(1) blur(0);
  }
  34% {
    transform: translate(-50%, -50%) translate3d(calc(var(--focus-shift-x) * .8), calc(var(--focus-shift-y) * .8), 0) scale(2.55);
    filter: saturate(1.55) brightness(1.8) blur(1.4px);
  }
  100% {
    transform: translate(-50%, -50%) translate3d(0,0,0) scale(1);
    filter: saturate(1) brightness(1) blur(0);
  }
}

/* Hyper-space overlay */
.solar-portfolio { --jump-rgb: var(--solar-gold-rgb, 234,194,102); }
.solar-hyperjump {
  position: absolute;
  z-index: 70;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateZ(120px);
  isolation: isolate;
}
.solar-hyperjump__vortex,
.solar-hyperjump__rays,
.solar-hyperjump__flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.solar-hyperjump__vortex {
  left: 50%;
  top: 50%;
  width: min(92vmin, 760px);
  height: min(92vmin, 760px);
  inset: auto;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 14deg, rgba(255,255,255,.92) 0 1deg, transparent 1.6deg 8deg),
    conic-gradient(from 90deg, transparent, rgba(var(--jump-rgb),.72), transparent 34%, rgba(255,255,255,.62), transparent 68%, rgba(var(--jump-rgb),.46), transparent);
  -webkit-mask: radial-gradient(circle, transparent 0 5%, #000 10% 58%, transparent 76%);
  mask: radial-gradient(circle, transparent 0 5%, #000 10% 58%, transparent 76%);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(.08) rotate(-24deg);
  opacity: 0;
}
.solar-hyperjump__rays {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  width: 1px;
  height: 1px;
}
.solar-hyperjump__rays i {
  --ray: 0deg;
  --lag: 0s;
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(90px, 18vw, 260px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--jump-rgb),.82), #fff);
  box-shadow: 0 0 11px rgba(var(--jump-rgb),.72);
  opacity: 0;
  transform-origin: left center;
  transform: rotate(var(--ray)) translateX(28px) scaleX(.04);
}
.solar-hyperjump__flash {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 4%, rgba(255,255,255,.96) 7%, rgba(var(--jump-rgb),.62) 17%, transparent 46%),
    linear-gradient(90deg, transparent 22%, rgba(255,255,255,.82) 50%, transparent 78%);
  opacity: 0;
  mix-blend-mode: screen;
}
.solar-hyperjump__label {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  max-width: calc(100% - 40px);
  transform: translate(-50%, 12px);
  padding: 7px 12px;
  border: 1px solid rgba(var(--jump-rgb),.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(2,5,14,.72);
  box-shadow: 0 0 24px rgba(var(--jump-rgb),.18);
  font-size: .6rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
}
.solar-portfolio.is-jumping .solar-hyperjump {
  visibility: visible;
  animation: solar-hyperjump-forward .94s cubic-bezier(.12,.72,.08,1) both;
}
.solar-portfolio.is-jumping .solar-hyperjump__vortex {
  animation: solar-vortex-forward .94s cubic-bezier(.1,.78,.08,1) both;
}
.solar-portfolio.is-jumping .solar-hyperjump__rays i {
  animation: solar-ray-forward .72s cubic-bezier(.05,.72,.08,1) var(--lag) both;
}
.solar-portfolio.is-jumping .solar-hyperjump__flash {
  animation: solar-flash-forward .94s ease both;
}
.solar-portfolio.is-jumping .solar-hyperjump__label {
  animation: solar-jump-label .94s ease both;
}
.solar-portfolio.is-returning .solar-hyperjump {
  visibility: visible;
  animation: solar-hyperjump-return .86s cubic-bezier(.2,.72,.16,1) both;
}
.solar-portfolio.is-returning .solar-hyperjump__vortex {
  animation: solar-vortex-return .86s cubic-bezier(.2,.72,.16,1) both;
}
.solar-portfolio.is-returning .solar-hyperjump__rays i {
  animation: solar-ray-return .64s cubic-bezier(.2,.72,.16,1) var(--lag) both;
}
.solar-portfolio.is-returning .solar-hyperjump__flash {
  animation: solar-flash-return .86s ease both;
}
@keyframes solar-hyperjump-forward {
  0% { opacity: 0; }
  10%, 74% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes solar-vortex-forward {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.08) rotate(-24deg); }
  18% { opacity: .78; }
  74% { opacity: 1; transform: translate(-50%, -50%) scale(2.35) rotate(145deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4.5) rotate(220deg); }
}
@keyframes solar-ray-forward {
  0% { opacity: 0; transform: rotate(var(--ray)) translateX(16px) scaleX(.02); }
  16% { opacity: .94; }
  78% { opacity: 1; transform: rotate(var(--ray)) translateX(96px) scaleX(2.8); }
  100% { opacity: 0; transform: rotate(var(--ray)) translateX(230px) scaleX(5.4); }
}
@keyframes solar-flash-forward {
  0%, 57% { opacity: 0; transform: scale(.2); }
  72% { opacity: .2; transform: scale(.7); }
  84% { opacity: 1; transform: scale(1.65); }
  100% { opacity: 0; transform: scale(2.2); }
}
@keyframes solar-jump-label {
  0%, 16% { opacity: 0; transform: translate(-50%, 12px); }
  28%, 66% { opacity: 1; transform: translate(-50%, 0); }
  90%, 100% { opacity: 0; transform: translate(-50%, -8px); }
}
@keyframes solar-hyperjump-return {
  0% { opacity: 0; }
  12%, 68% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes solar-vortex-return {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(3.8) rotate(190deg); }
  26% { opacity: .92; }
  76% { opacity: .8; transform: translate(-50%, -50%) scale(.45) rotate(16deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(.06) rotate(-18deg); }
}
@keyframes solar-ray-return {
  0% { opacity: 0; transform: rotate(var(--ray)) translateX(230px) scaleX(5.2); }
  22% { opacity: .92; }
  100% { opacity: 0; transform: rotate(var(--ray)) translateX(20px) scaleX(.02); }
}
@keyframes solar-flash-return {
  0%, 8% { opacity: 0; transform: scale(1.7); }
  34% { opacity: .86; transform: scale(1); }
  100% { opacity: 0; transform: scale(.15); }
}

/* Service capsule: shared shell */
.solar-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--active-rgb),.16), transparent 33%),
    linear-gradient(145deg, rgba(8,14,31,.985), rgba(2,6,16,.985));
}
.solar-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .38;
}
.solar-panel__inner {
  position: relative;
  z-index: 1;
}
.solar-panel__ready {
  margin: -7px 0 17px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(var(--active-rgb),.14);
  border-radius: 12px;
  background: rgba(var(--active-rgb),.04);
}
.solar-panel__ready > span {
  width: 7px;
  height: 7px;
  margin-top: .35em;
  border-radius: 50%;
  background: rgb(var(--active-rgb));
  box-shadow: 0 0 12px rgba(var(--active-rgb),.6);
  animation: solar-ready-pulse 1.8s ease-in-out infinite;
}
.solar-panel__ready p {
  margin: 0;
  color: var(--solar-muted);
  font-size: .7rem;
  line-height: 1.45;
}
.solar-panel__ready strong {
  color: var(--solar-text);
  font-size: .63rem;
  letter-spacing: .09em;
}
@keyframes solar-ready-pulse { 50% { opacity: .42; transform: scale(.75); } }

/* Each data-service creates a distinct atmosphere. */
.solar-panel[data-service="graphic"]::after {
  background:
    radial-gradient(circle at 18% 12%, rgba(0,203,232,.16), transparent 17%),
    radial-gradient(circle at 30% 16%, rgba(239,62,168,.14), transparent 17%),
    radial-gradient(circle at 42% 12%, rgba(255,224,74,.12), transparent 17%);
}
.solar-panel[data-service="web"]::after {
  background-image: linear-gradient(rgba(98,223,247,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(98,223,247,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.solar-panel[data-service="apps"]::after {
  background: radial-gradient(circle at 16% 22%, rgba(82,89,255,.22), transparent 30%), radial-gradient(circle at 85% 75%, rgba(0,229,255,.14), transparent 32%);
}
.solar-panel[data-service="marketing"]::after {
  background: linear-gradient(145deg, transparent 48%, rgba(189,247,107,.08) 49% 50%, transparent 51%), repeating-linear-gradient(0deg, transparent 0 25px, rgba(189,247,107,.04) 26px);
}
.solar-panel[data-service="print"] {
  background: radial-gradient(circle at 82% 8%, rgba(234,194,102,.18), transparent 32%), linear-gradient(145deg, rgba(29,22,18,.985), rgba(8,7,10,.985));
}
.solar-panel[data-service="print"]::after {
  background: repeating-linear-gradient(86deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px), repeating-linear-gradient(4deg, rgba(234,194,102,.022) 0 1px, transparent 1px 7px);
}
.solar-panel[data-service="audiovisual"]::after {
  background: linear-gradient(#000 0 7%, transparent 7% 93%, #000 93%), radial-gradient(circle at 50% 45%, rgba(255,108,96,.11), transparent 42%);
}
.solar-panel[data-service="photography"]::after {
  background: radial-gradient(circle at 78% 18%, rgba(255,255,255,.24), transparent 4%, rgba(105,227,210,.12) 11%, transparent 29%), radial-gradient(circle at 20% 78%, rgba(105,227,210,.11), transparent 34%);
}
.solar-panel[data-service="editing"]::after {
  background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(216,106,255,.055) 30px), linear-gradient(90deg, transparent 64%, rgba(216,106,255,.08) 64% 65%, transparent 65%);
}

/* Theme canvas */
.solar-panel__mockup {
  min-height: 218px;
  background:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px),
    radial-gradient(circle at 74% 24%, rgba(var(--active-rgb), .14), transparent 34%),
    rgba(2,7,18,.9);
  background-size: 22px 22px, 22px 22px, auto, auto;
}
.solar-panel__mockup::before {
  content: attr(data-theme-label);
  z-index: 12;
}
.solar-panel__mockup::after {
  content: "";
  position: absolute;
  z-index: 11;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--active-rgb),.8), transparent);
  box-shadow: 0 0 11px rgba(var(--active-rgb),.28);
}
.solar-theme {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: none;
  overflow: hidden;
  border-radius: inherit;
}
.solar-panel[data-service="graphic"] .solar-theme--graphic,
.solar-panel[data-service="web"] .solar-theme--web,
.solar-panel[data-service="apps"] .solar-theme--apps,
.solar-panel[data-service="marketing"] .solar-theme--marketing,
.solar-panel[data-service="print"] .solar-theme--print,
.solar-panel[data-service="audiovisual"] .solar-theme--audiovisual,
.solar-panel[data-service="photography"] .solar-theme--photography,
.solar-panel[data-service="editing"] .solar-theme--editing {
  display: block;
  animation: solar-theme-in .42s cubic-bezier(.18,.82,.2,1) both;
}
@keyframes solar-theme-in { from { opacity: 0; transform: scale(.96); } }

/* Graphic design — Bezier handles and CMYK swatches */
.solar-theme--graphic {
  background: radial-gradient(circle at 76% 36%, rgba(239,62,168,.13), transparent 34%), linear-gradient(145deg, rgba(0,203,232,.035), transparent 48%);
}
.solar-theme__bezier { position: absolute; inset: 31px 14px 24px; width: calc(100% - 28px); height: calc(100% - 55px); overflow: visible; }
.solar-theme__bezier path { fill: none; stroke: rgb(var(--active-rgb)); stroke-width: 3; filter: drop-shadow(0 0 7px rgba(var(--active-rgb),.4)); stroke-dasharray: 520; animation: solar-draw-path 2.8s ease-in-out infinite alternate; }
.solar-theme__bezier line { stroke: rgba(255,255,255,.26); stroke-width: 1; stroke-dasharray: 4 5; }
.solar-theme__bezier circle { fill: #06101e; stroke: #fff; stroke-width: 2; }
@keyframes solar-draw-path { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.solar-theme__cmyk { position: absolute; right: 17px; bottom: 20px; display: flex; gap: 6px; }
.solar-theme__cmyk span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--swatch); box-shadow: 0 6px 15px rgba(0,0,0,.28); font-size: .54rem; font-weight: 950; }
.solar-theme__cmyk span:last-child { border: 1px solid rgba(255,255,255,.24); }

/* Web — terminal, code grid and HTML tags */
.solar-theme--web { background: linear-gradient(rgba(98,223,247,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(98,223,247,.035) 1px, transparent 1px), #020812; background-size: 18px 18px; }
.solar-theme__terminal { position: absolute; inset: 38px 18px 23px; padding: 28px 17px 14px; display: grid; align-content: center; gap: 8px; border: 1px solid rgba(98,223,247,.2); border-radius: 12px; background: rgba(0,5,11,.88); box-shadow: inset 0 0 30px rgba(98,223,247,.04); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.solar-theme__terminal::before { content: ""; position: absolute; left: 12px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; box-shadow: 13px 0 #f8cc5c, 26px 0 #6de1a7; }
.solar-theme__terminal b { position: absolute; right: 14px; top: 8px; color: rgba(98,223,247,.74); font-size: 1rem; }
.solar-theme__terminal span { color: rgba(255,255,255,.64); font-size: .59rem; }
.solar-theme__terminal span:nth-of-type(2) { padding-left: 18px; color: #ffe17a; }
.solar-theme__terminal span:nth-of-type(3) { padding-left: 18px; color: #88eaff; }
.solar-theme__terminal i { width: 7px; height: 13px; background: rgb(var(--active-rgb)); animation: solar-cursor-blink .8s steps(1) infinite; }
@keyframes solar-cursor-blink { 50% { opacity: 0; } }

/* Apps — mobile silhouettes and neon UI */
.solar-theme--apps { background: radial-gradient(circle at 22% 76%, rgba(0,229,255,.13), transparent 35%), radial-gradient(circle at 80% 28%, rgba(140,140,255,.18), transparent 38%), #030718; }
.solar-theme__phones { position: absolute; inset: 40px 18px 23px; display: flex; align-items: end; justify-content: center; gap: 13px; perspective: 700px; }
.solar-theme__phones > span { position: relative; width: 74px; height: 134px; padding: 12px 8px; overflow: hidden; border: 2px solid rgba(255,255,255,.22); border-radius: 16px; background: linear-gradient(160deg, rgba(140,140,255,.18), rgba(0,0,0,.65)); box-shadow: 0 12px 28px rgba(0,0,0,.38), 0 0 21px rgba(140,140,255,.11); transform: rotateY(-9deg) translateY(5px); }
.solar-theme__phones > span:nth-child(2) { height: 151px; transform: translateY(-4px); border-color: rgba(140,140,255,.55); }
.solar-theme__phones > span:nth-child(3) { transform: rotateY(9deg) translateY(5px); }
.solar-theme__phones > span::before { content: ""; position: absolute; top: 5px; left: 50%; width: 21px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.2); transform: translateX(-50%); }
.solar-theme__phones i { display: block; height: 34px; border-radius: 8px; background: linear-gradient(135deg, rgba(0,229,255,.46), rgba(140,140,255,.32)); }
.solar-theme__phones b,
.solar-theme__phones em { display: block; height: 7px; margin-top: 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.solar-theme__phones em { width: 62%; margin-top: 7px; background: rgba(0,229,255,.3); }
.solar-theme__app-sparks i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #7cf4ff; box-shadow: 0 0 14px #7cf4ff; animation: solar-app-spark 2.4s ease-in-out infinite; }
.solar-theme__app-sparks i:nth-child(1) { left: 16%; top: 30%; }
.solar-theme__app-sparks i:nth-child(2) { right: 13%; top: 43%; animation-delay: -.8s; }
.solar-theme__app-sparks i:nth-child(3) { right: 24%; bottom: 21%; animation-delay: -1.5s; }
@keyframes solar-app-spark { 50% { transform: scale(2.2); opacity: .35; } }

/* Marketing — rising chart and green ROI signals */
.solar-theme--marketing { background: radial-gradient(circle at 74% 30%, rgba(189,247,107,.13), transparent 35%), #030a0a; }
.solar-theme__chart { position: absolute; left: 12px; right: 12px; top: 32px; width: calc(100% - 24px); height: calc(100% - 43px); }
.solar-theme__chart path:first-child { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 1.5; }
.solar-theme__chart .grid { fill: none; stroke: rgba(189,247,107,.09); stroke-width: 1; }
.solar-theme__chart polyline { fill: none; stroke: rgb(var(--active-rgb)); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(var(--active-rgb),.45)); stroke-dasharray: 430; animation: solar-chart-rise 2.4s ease-in-out infinite alternate; }
.solar-theme__chart circle { fill: #06100d; stroke: rgb(var(--active-rgb)); stroke-width: 3; }
@keyframes solar-chart-rise { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.solar-theme__roi { position: absolute; right: 17px; top: 46px; display: grid; justify-items: end; gap: 3px; }
.solar-theme__roi span { color: rgb(var(--active-rgb)); font-size: .88rem; font-weight: 950; letter-spacing: .1em; }
.solar-theme__roi strong { color: rgba(189,247,107,.54); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .58rem; letter-spacing: .16em; }
.solar-theme__roi em { color: rgba(255,255,255,.38); font-size: .45rem; font-style: normal; letter-spacing: .13em; }

/* Print — crop marks, paper texture and magazine */
.solar-theme--print { background: repeating-linear-gradient(86deg, rgba(255,255,255,.014) 0 1px, transparent 1px 5px), linear-gradient(145deg, #19100d, #09070a); }
.solar-theme__crop { position: absolute; inset: 43px 20px 24px; }
.solar-theme__crop i { position: absolute; width: 22px; height: 22px; border-color: rgba(234,194,102,.65); }
.solar-theme__crop i:nth-child(1) { left: 0; top: 0; border-left: 1px solid; border-top: 1px solid; }
.solar-theme__crop i:nth-child(2) { right: 0; top: 0; border-right: 1px solid; border-top: 1px solid; }
.solar-theme__crop i:nth-child(3) { left: 0; bottom: 0; border-left: 1px solid; border-bottom: 1px solid; }
.solar-theme__crop i:nth-child(4) { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.solar-theme__paper,
.solar-theme__paper-shadow { position: absolute; left: 50%; top: 54%; width: 116px; height: 144px; border-radius: 3px; transform: translate(-50%, -50%) rotate(-4deg); }
.solar-theme__paper-shadow { background: rgba(234,194,102,.13); transform: translate(-37%, -45%) rotate(7deg); }
.solar-theme__paper { z-index: 2; padding: 18px 12px; display: grid; align-content: center; border: 1px solid rgba(234,194,102,.46); background: linear-gradient(160deg, #f3e7ca, #bca67d); box-shadow: 0 14px 32px rgba(0,0,0,.45); color: #17100b; text-align: center; }
.solar-theme__paper span { font-size: .46rem; font-weight: 900; letter-spacing: .15em; }
.solar-theme__paper strong { margin-top: 11px; font-size: .88rem; line-height: .9; }
.solar-theme__paper em { margin-top: 10px; font-size: .43rem; font-style: normal; letter-spacing: .12em; }

/* Audiovisual — cinema viewfinder */
.solar-theme--audiovisual { background: linear-gradient(#000 0 10%, transparent 10% 90%, #000 90%), radial-gradient(circle at 50% 50%, rgba(255,108,96,.1), transparent 44%), #050607; }
.solar-theme__viewfinder { position: absolute; inset: 45px 20px 27px; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 40%); }
.solar-theme__viewfinder .rec { position: absolute; left: 13px; top: 11px; display: flex; align-items: center; gap: 6px; color: #ff6c60; font-size: .58rem; font-weight: 950; letter-spacing: .1em; }
.solar-theme__viewfinder .rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5449; box-shadow: 0 0 10px rgba(255,84,73,.65); animation: solar-rec-blink 1s steps(1) infinite; }
@keyframes solar-rec-blink { 50% { opacity: .28; } }
.solar-theme__viewfinder time { position: absolute; right: 13px; top: 10px; color: rgba(255,255,255,.72); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .55rem; }
.solar-theme__viewfinder b { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; border: 1px solid rgba(255,255,255,.38); transform: translate(-50%, -50%); }
.solar-theme__viewfinder b::before,
.solar-theme__viewfinder b::after { content: ""; position: absolute; background: rgba(255,255,255,.32); }
.solar-theme__viewfinder b::before { left: 50%; top: -12px; bottom: -12px; width: 1px; }
.solar-theme__viewfinder b::after { top: 50%; left: -12px; right: -12px; height: 1px; }
.solar-theme__viewfinder em { position: absolute; left: 13px; bottom: 10px; color: rgba(255,255,255,.46); font-size: .48rem; font-style: normal; letter-spacing: .1em; }
.solar-theme__viewfinder em::before { content: "4K 24FPS · LOG"; }
.solar-theme__viewfinder .corner { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.72); }
.solar-theme__viewfinder .corner--a { left: 8px; top: 8px; border-left: 2px solid; border-top: 2px solid; }
.solar-theme__viewfinder .corner--b { right: 8px; top: 8px; border-right: 2px solid; border-top: 2px solid; }
.solar-theme__viewfinder .corner--c { left: 8px; bottom: 8px; border-left: 2px solid; border-bottom: 2px solid; }
.solar-theme__viewfinder .corner--d { right: 8px; bottom: 8px; border-right: 2px solid; border-bottom: 2px solid; }

/* Photography — flash and aperture */
.solar-theme--photography { background: radial-gradient(circle at 50% 50%, rgba(105,227,210,.12), transparent 40%), #02070b; }
.solar-theme__flash { position: absolute; inset: 0; background: radial-gradient(circle at 74% 27%, rgba(255,255,255,.92) 0 1%, rgba(105,227,210,.26) 5%, transparent 24%); animation: solar-photo-flash 3.1s ease-in-out infinite; }
@keyframes solar-photo-flash { 0%, 68%, 100% { opacity: .12; } 72% { opacity: 1; } 76% { opacity: .28; } }
.solar-theme__aperture { position: absolute; left: 50%; top: 54%; width: 132px; height: 132px; border: 1px solid rgba(105,227,210,.34); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 34px rgba(105,227,210,.12), inset 0 0 30px rgba(0,0,0,.7); animation: solar-aperture-turn 8s linear infinite; }
.solar-theme__aperture::before { content: ""; position: absolute; inset: 27px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: inset 0 0 22px #000; }
.solar-theme__aperture i { position: absolute; left: 50%; top: 50%; width: 53px; height: 28px; margin: -14px 0 0 -4px; border-radius: 70% 10% 70% 10%; background: linear-gradient(90deg, rgba(105,227,210,.42), rgba(255,255,255,.08)); transform-origin: 4px 14px; }
.solar-theme__aperture i:nth-child(1) { transform: rotate(0deg) translateX(17px); }
.solar-theme__aperture i:nth-child(2) { transform: rotate(45deg) translateX(17px); }
.solar-theme__aperture i:nth-child(3) { transform: rotate(90deg) translateX(17px); }
.solar-theme__aperture i:nth-child(4) { transform: rotate(135deg) translateX(17px); }
.solar-theme__aperture i:nth-child(5) { transform: rotate(180deg) translateX(17px); }
.solar-theme__aperture i:nth-child(6) { transform: rotate(225deg) translateX(17px); }
.solar-theme__aperture i:nth-child(7) { transform: rotate(270deg) translateX(17px); }
.solar-theme__aperture i:nth-child(8) { transform: rotate(315deg) translateX(17px); }
@keyframes solar-aperture-turn { 50% { transform: translate(-50%, -50%) rotate(22deg) scale(.88); } }
.solar-theme__exposure { position: absolute; left: 16px; right: 16px; bottom: 17px; display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .52rem; }

/* Video editing — timeline blocks and audio track */
.solar-theme--editing { background: linear-gradient(180deg, #090817 0 28%, #03050d 28%); }
.solar-theme__editing { position: absolute; inset: 44px 14px 21px; padding: 13px 8px; display: grid; align-content: center; gap: 8px; border: 1px solid rgba(216,106,255,.16); border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 30px); }
.solar-theme__editing .track { height: 31px; display: flex; gap: 5px; padding: 4px; border-radius: 6px; background: rgba(255,255,255,.035); }
.solar-theme__editing .track > i { flex: 1; border-radius: 4px; background: rgba(216,106,255,.4); box-shadow: inset 0 0 0 1px rgba(216,106,255,.22); }
.solar-theme__editing .track > i:nth-child(2) { flex: .6; background: rgba(98,223,247,.34); }
.solar-theme__editing .track > i:nth-child(3) { flex: 1.25; background: rgba(255,108,96,.3); }
.solar-theme__editing .track--audio { padding: 2px 5px; }
.solar-theme__editing .track--audio svg { width: 100%; height: 100%; }
.solar-theme__editing .track--audio polyline { fill: none; stroke: rgba(189,247,107,.62); stroke-width: 1.2; }
.solar-theme__editing .playhead { position: absolute; left: 48%; top: 5px; bottom: 5px; width: 1px; background: #ff6c60; box-shadow: 0 0 8px rgba(255,108,96,.55); animation: solar-playhead 3.8s linear infinite alternate; }
.solar-theme__editing .playhead::before { content: ""; position: absolute; left: -4px; top: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #ff6c60; }
@keyframes solar-playhead { from { left: 14%; } to { left: 86%; } }

@media (max-width: 980px) {
  .solar-stage { --solar-zoom-scale: 1.58; --solar-jump-peak: 3.05; }
}
@media (max-width: 720px) {
  .solar-stage { --solar-zoom-scale: 1.08; --solar-jump-peak: 1.72; }
  .solar-portfolio.is-zoomed .solar-stage {
    transform: translate(-50%, -50%) translate3d(0,0,0) scale(var(--solar-zoom-scale));
    opacity: .35;
  }
  .solar-panel__mockup { min-height: 195px; }
  .solar-hyperjump__label { bottom: 14px; max-width: calc(100% - 28px); font-size: .52rem; }
}
@media (max-width: 430px) {
  .solar-panel__mockup { min-height: 178px; }
  .solar-theme__phones > span { width: 57px; height: 116px; }
  .solar-theme__phones > span:nth-child(2) { height: 132px; }
  .solar-theme__aperture { width: 108px; height: 108px; }
  .solar-theme__cmyk span { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .solar-hyperjump,
  .solar-hyperjump *,
  .solar-panel__mockup *,
  .solar-panel__ready > span { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
html.reduce-motion .solar-hyperjump,
html.reduce-motion .solar-hyperjump *,
html.reduce-motion .solar-panel__mockup *,
html.reduce-motion .solar-panel__ready > span {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
}

/* Keep orbiting buttons and labels visible when they cross an orbit boundary. */
.solar-orbit,
.solar-runner,
.solar-runner__counter {
  overflow: visible;
}


/* Preserve eight distinct hit targets when motion is reduced: each orbit freezes
   at an authored angle instead of stacking both planets at the same origin. */
@media (prefers-reduced-motion: reduce) {
  .solar-runner {
    transform: rotate(var(--static-angle, 0deg)) !important;
  }
  .solar-runner__counter {
    transform: translate(-50%, -50%) rotate(calc(var(--static-angle, 0deg) * -1)) !important;
  }
}
html.reduce-motion .solar-runner {
  transform: rotate(var(--static-angle, 0deg)) !important;
}
html.reduce-motion .solar-runner__counter {
  transform: translate(-50%, -50%) rotate(calc(var(--static-angle, 0deg) * -1)) !important;
}
