/* Signal Orange material direction, explicitly requested by the founder. */
:root {
  --signal-light: #ff9061;
  --signal-shade: #8b2b0b;
  --signal-glow: rgba(255, 90, 31, 0.18);
  --signal-faint: rgba(255, 90, 31, 0.055);
  --signal-edge: rgba(255, 90, 31, 0.42);
  --signal-metal: linear-gradient(
    135deg,
    #ffae85 0%,
    #ff5a1f 26%,
    #d5400b 62%,
    #602006 100%
  );
}
.world {
  background:
    radial-gradient(
      ellipse at 85% 10%,
      rgba(255, 90, 31, 0.06),
      transparent 50%
    ),
    radial-gradient(ellipse at 85% 45%, #202020, transparent 55%), #080808;
}
.world-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% var(--light-depth, 20%),
    rgba(255, 90, 31, 0.07),
    transparent 46%
  );
  opacity: 0.7;
}
.world-horizon {
  background: linear-gradient(
    90deg,
    transparent,
    var(--signal-shade),
    transparent
  );
}
.world-grid {
  background-image:
    linear-gradient(rgba(255, 90, 31, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 243, 239, 0.065) 1px, transparent 1px);
}
.reading-track {
  position: absolute;
  inset: auto 18px -1px;
  height: 2px;
  overflow: hidden;
  border-radius: 50%;
}
.reading-track i {
  height: 100%;
  width: 100%;
  display: block;
  background: var(--accent);
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left;
  box-shadow: 0 0 12px var(--accent);
}
.nav-inner nav a {
  position: relative;
  transition: color 0.25s;
}
.nav-inner nav a[aria-current="location"] {
  color: var(--paper);
}
.nav-inner nav a:after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.25s;
}
.nav-inner nav a[aria-current="location"]:after {
  scale: 1 1;
}
.hero {
  padding-top: 60px;
}
.hero > .hero-stage {
  min-height: 650px;
}
.hero h1 {
  line-height: 0.92;
}
.hero h1 .signal {
  text-shadow: 0 0 40px rgba(255, 90, 31, 0.2);
}
.hero .eyebrow:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}
.halo {
  inset: 8% -8%;
  background: radial-gradient(ellipse, var(--signal-glow), transparent 60%);
  filter: blur(30px);
}
.core-rim {
  background: conic-gradient(
    from 30deg,
    #1f0b04,
    #ff9061 10%,
    #ff5a1f 19%,
    #351205 35%,
    #ffaf85 48%,
    #ff5a1f 58%,
    #541d08 75%,
    #ff9061 90%,
    #1f0b04
  );
  box-shadow:
    10px 16px 0 #321106,
    11px 17px 0 #98411f,
    25px 35px 60px #000,
    0 0 45px rgba(255, 90, 31, 0.1);
}
.core-calibration {
  position: absolute;
  inset: -23px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 90, 31, 0.7) 0deg 1deg,
    transparent 1deg 6deg
  );
  mask-image: radial-gradient(
    circle,
    transparent 68%,
    #000 69% 71%,
    transparent 72%
  );
  animation: calibration-spin 50s linear infinite;
  pointer-events: none;
}
.core-glass {
  background:
    radial-gradient(
      ellipse at 20% 0%,
      rgba(255, 140, 90, 0.17),
      transparent 55%
    ),
    linear-gradient(140deg, #232323, #090909 65%);
  border-color: rgba(255, 140, 90, 0.4);
}
.orbit-one {
  border-color: var(--signal-edge);
}
.orbit-one:before {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}
.hero-light-line {
  position: absolute;
  inset: 52% -20% auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 90, 31, 0.28),
    transparent
  );
  transform: rotate(-27deg);
  pointer-events: none;
}
.satellite-day {
  border-color: var(--signal-edge);
  background:
    linear-gradient(130deg, rgba(255, 90, 31, 0.12), transparent 60%),
    var(--spatial-fill);
}
.timeline i:nth-child(4) {
  background: var(--signal-metal);
  box-shadow: 0 0 12px var(--signal-glow);
}
.satellite-script .sat-index {
  color: var(--signal-light);
}
.team-nodes i:first-child {
  background: radial-gradient(
    circle at 30% 20%,
    #ffbd97,
    #ff5a1f 35%,
    #411606 80%
  );
  border-color: var(--signal-edge);
}
.sheet-mid {
  background: var(--signal-metal);
  color: var(--ink);
  border-color: var(--signal-light);
  box-shadow:
    6px 8px 0 #5b1c07,
    7px 9px 0 #ad3f15,
    20px 40px 40px #000;
}
.sheet-mid i {
  background: rgba(10, 10, 10, 0.3);
}
.sheet-front {
  border-color: rgba(255, 90, 31, 0.25);
}
.sheet-nodes i:first-child {
  background: var(--accent);
  border-color: var(--accent);
}
.workspace-preview {
  border-color: rgba(255, 90, 31, 0.22);
  background:
    linear-gradient(120deg, rgba(255, 90, 31, 0.045), transparent 65%), #101010;
}
.workspace-sculpture,
.sculpture,
.department-sculpture,
.format-sculpture,
.faq-sculpture {
  translate: 0 var(--depth-lift, 0px);
  rotate: y var(--depth-turn, 0deg);
  transition:
    translate 0.2s linear,
    rotate 0.2s linear;
}
.signal-stage {
  margin-top: 120px;
  position: relative;
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.3),
    0 25px 120px rgba(255, 90, 31, 0.07);
}
.signal-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.08) 1px, transparent 1px);
  background-size: 75px 75px;
  transform: perspective(800px) rotateX(60deg) rotateZ(-20deg) scale(1.7);
  mask-image: linear-gradient(90deg, transparent, #000);
  z-index: -1;
}
.signal-inner {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 75px;
  padding-bottom: 95px;
}
.signal-copy {
  z-index: 2;
}
.signal-copy .eyebrow {
  font-size: 11px;
}
.signal-copy h2 {
  font-size: clamp(3.8rem, 7.2vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  margin: 36px 0 28px;
  font-weight: 800;
}
.signal-copy > p:not(.eyebrow) {
  font-size: 1.125rem;
  line-height: 1.5;
}
.signal-copy a {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  margin-top: 28px;
  font-size: 0.9rem;
  min-height: 48px;
  text-underline-offset: 6px;
}
.signal-stage a:focus-visible {
  outline-color: var(--ink);
}
.signal-foot {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.25);
  font: 9px var(--font-mono);
  letter-spacing: 0.14em;
}
.portal-sculpture {
  height: 500px;
  perspective: 1000px;
  position: relative;
  isolation: isolate;
}
.portal-camera {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--portal-y, -24deg)) rotateX(var(--portal-x, 10deg));
  transition: transform 0.15s linear;
}
.portal-gate {
  position: absolute;
  width: 290px;
  height: 350px;
  top: 50%;
  left: 50%;
  margin: -175px -145px;
  border: 12px solid #111;
  border-radius: 48% 48% 14px 14px;
  transform-style: preserve-3d;
  box-shadow:
    inset 2px 2px 0 #777,
    2px 3px 0 #444,
    12px 15px 15px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
  transform: translateZ(calc(var(--gate-z) + var(--portal-travel, 0px)));
  animation: portal-breathe 8s ease-in-out infinite;
}
.portal-gate i {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
}
.gate-0 {
  --gate-z: -210px;
  opacity: 0.4;
}
.gate-1 {
  --gate-z: -130px;
  opacity: 0.55;
  animation-delay: -1s;
}
.gate-2 {
  --gate-z: -50px;
  opacity: 0.7;
  animation-delay: -2s;
}
.gate-3 {
  --gate-z: 30px;
  animation-delay: -3s;
}
.gate-4 {
  --gate-z: 110px;
  animation-delay: -4s;
}
.gate-5 {
  --gate-z: 190px;
  animation-delay: -5s;
}
.portal-center {
  position: absolute;
  width: 245px;
  height: 300px;
  left: 50%;
  top: 50%;
  margin: -150px -122px;
  border-radius: 46% 46% 10px 10px;
  background: radial-gradient(circle at 25% 10%, #484848, #090909 70%);
  transform: translateZ(-230px);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
}
.portal-center span {
  font: 8px var(--font-mono);
  letter-spacing: 0.12em;
}
.portal-center strong {
  font: 800 65px/0.88 var(--font-body);
  letter-spacing: -0.06em;
  text-align: center;
  margin: 32px 0;
  color: var(--accent);
}
.feature {
  border-radius: 30px;
  box-shadow:
    0 10px 0 #080808,
    0 11px 0 #333,
    0 30px 60px #000;
  transition:
    border-color 0.5s,
    box-shadow 0.5s;
}
.feature:hover {
  border-color: var(--signal-edge);
  box-shadow:
    0 10px 0 #080808,
    0 11px 0 #6d2d13,
    0 30px 60px #000;
}
.feature:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.03) 45%,
    transparent 65%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.feature:hover:before {
  opacity: 1;
}
.page-one {
  border-top: 12px solid var(--accent);
}
.page-three {
  background: var(--signal-metal);
  border-color: var(--signal-light);
  opacity: 0.9;
}
.node-center {
  border-color: var(--signal-edge);
  background: radial-gradient(circle at 30% 20%, #6e3c24, #17100c 65%);
  box-shadow:
    10px 12px 0 #201008,
    11px 13px 0 #6f351b,
    20px 30px 35px #000;
}
.node.n2 {
  color: var(--ink);
  background: var(--signal-metal);
  border-color: #ffb58f;
  box-shadow:
    6px 8px 0 #551906,
    7px 9px 0 #8b3010,
    20px 20px 30px #000;
  font-weight: 700;
}
.node-ring {
  border-color: var(--signal-edge);
}
.vault-dial {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px #ff9061,
    8px 10px 15px #000,
    inset 0 0 18px #000;
  background: radial-gradient(circle at 35% 20%, #555, #191919 65%);
}
.vault-led {
  position: absolute;
  bottom: 27px;
  left: 25px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}
.platform-2 {
  background: var(--signal-metal);
  border-color: var(--signal-light);
  color: var(--ink);
  opacity: 1;
  box-shadow:
    8px 10px 0 #552006,
    9px 11px 0 #a04415,
    20px 30px 35px #000;
}
.platform-1 {
  transition:
    border-color 0.35s,
    box-shadow 0.35s;
}
.active-desk-name {
  font-size: 33px !important;
  line-height: 1.05;
  max-width: 225px;
}
.platform-beam {
  background: linear-gradient(
    0deg,
    transparent,
    rgba(255, 90, 31, 0.14),
    transparent
  );
}
.departments details[open] {
  border-color: var(--signal-edge);
  background:
    linear-gradient(120deg, rgba(255, 90, 31, 0.08), transparent), #161616;
  box-shadow:
    5px 7px 0 #150a05,
    6px 8px 0 #6b3018,
    12px 18px 30px #000;
}
.departments details[open] summary > span {
  color: var(--accent);
}
.cinema-frame.frame-mid {
  background: var(--signal-metal);
  border-color: var(--signal-light);
  opacity: 1;
}
.cinema-frame.frame-front {
  border-color: var(--signal-edge);
}
.cinema-frame strong {
  color: var(--paper);
}
.cube-front {
  background: var(--signal-metal);
  color: var(--ink);
  border-color: var(--signal-light);
}
.cube-top {
  background: linear-gradient(135deg, #ffc099, #ff5a1f);
}
.cube-right {
  background: repeating-linear-gradient(
    90deg,
    #7b270c 0 19px,
    #a83d14 20px 21px
  );
  border-color: #bc5428;
}
.format {
  border-top-color: var(--signal-edge);
}
.format-link > span {
  background: var(--accent);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.35s;
}
.format-link {
  align-items: center;
}
.format:hover .format-link > span {
  transform: rotate(45deg);
}
.ring-a {
  border-color: var(--accent);
  box-shadow:
    1px 2px 0 #ffad81,
    inset 1px 2px #ffad81,
    15px 20px 25px #000;
}
.finale {
  isolation: isolate;
  padding-top: 100px;
  padding-bottom: 100px;
}
.finale-word {
  background: linear-gradient(165deg, #ffc099 8%, #ff5a1f 42%, #b03a10 80%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(2px 4px #8c2a08) drop-shadow(4px 8px #351104);
}
.finale-orbit {
  position: absolute;
  inset: 10% 15%;
  border: 1px solid rgba(255, 90, 31, 0.25);
  border-radius: 50%;
  transform: rotateX(60deg) rotateZ(-12deg);
  box-shadow:
    0 0 0 45px rgba(255, 90, 31, 0.025),
    0 0 0 90px rgba(255, 90, 31, 0.02);
  z-index: -1;
}
.finale:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse,
    rgba(255, 90, 31, 0.09),
    transparent 65%
  );
  z-index: -1;
}
.primary {
  position: relative;
  overflow: hidden;
}
.primary:before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    100deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  transform: translateX(-80%);
  transition: transform 0.7s;
  pointer-events: none;
}
.primary:hover:before {
  transform: translateX(80%);
}
.primary > span {
  transition: transform 0.3s;
}
.primary:hover > span {
  transform: translate(3px, -3px);
}
.signal-stage.spatial-inactive * {
  animation-play-state: paused !important;
}
@keyframes calibration-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes portal-breathe {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@media (max-width: 1000px) {
  .signal-inner {
    gap: 0;
    min-height: 620px;
  }
  .signal-copy h2 {
    font-size: 5rem;
  }
  .portal-sculpture {
    scale: 0.8;
    margin-inline: -55px;
  }
  .hero > .hero-stage {
    min-height: 610px;
  }
  .core-calibration {
    inset: -19px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-top: 40px;
  }
  .hero > .hero-stage {
    min-height: 0;
  }
  .signal-stage {
    margin-top: 75px;
  }
  .signal-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 80px;
  }
  .signal-copy .eyebrow {
    font-size: 9px;
  }
  .signal-copy h2 {
    font-size: clamp(3.5rem, 15vw, 5rem);
    margin-block: 26px;
  }
  .signal-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }
  .signal-copy a {
    margin-top: 15px;
    font-size: 0.85rem;
  }
  .portal-sculpture {
    height: 410px;
    scale: 0.65;
    margin: -30px -60px -35px;
    pointer-events: none;
  }
  .signal-foot {
    font-size: 7px;
    letter-spacing: 0.04em;
    gap: 15px;
    bottom: 22px;
  }
  .signal-stage:before {
    background-size: 50px 50px;
  }
  .workspace-sculpture,
  .sculpture,
  .department-sculpture,
  .format-sculpture,
  .faq-sculpture {
    rotate: none;
  }
  .core-calibration {
    animation-duration: 65s;
  }
  .finale {
    padding-block: 60px;
  }
  .finale-orbit {
    inset: 15% 0;
  }
  .format-link > span {
    width: 36px;
    height: 36px;
  }
  .active-desk-name {
    font-size: 32px !important;
  }
}
@media (max-width: 370px) {
  .signal-copy h2 {
    font-size: 3.4rem;
  }
  .portal-sculpture {
    scale: 0.56;
  }
  .signal-foot span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-sculpture,
  .sculpture,
  .department-sculpture,
  .format-sculpture,
  .faq-sculpture {
    translate: none;
    rotate: none;
  }
  .portal-camera {
    transform: rotateY(-24deg) rotateX(10deg);
  }
  .portal-gate {
    transform: translateZ(var(--gate-z));
  }
  .world-light {
    display: none;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
html[data-motion="paused"] .workspace-sculpture,
html[data-motion="paused"] .sculpture,
html[data-motion="paused"] .department-sculpture,
html[data-motion="paused"] .format-sculpture,
html[data-motion="paused"] .faq-sculpture {
  translate: none;
  rotate: none;
}
@media (prefers-contrast: more) {
  .signal-stage {
    background: var(--accent);
    color: var(--ink);
  }
  .signal-stage:before {
    display: none;
  }
  .finale-word {
    background: none;
    color: var(--accent);
  }
  .hero .halo,
  .world-light {
    display: none;
  }
}
