/* ===========================================================
   DOT INNOVATIVE — design tokens
   =========================================================== */
:root{
  --bg: #0a0a12;
  --surface: #12121c;
  --surface-2: #181826;
  --text: #ededf5;
  --muted: #8a8aa3;
  --accent: #6ee7f9;      /* cyan — small orbiting dots */
  --accent-2: #b296ff;    /* violet — glow / gradient partner */

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(.22,.9,.32,1);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .4em;
}

p{ margin: 0 0 1em; color: var(--muted); }

a{ color: var(--accent); }

.eyebrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .75em;
}

/* ===========================================================
   HERO — orbit logo + brand
   =========================================================== */
.hero{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.orbit-logo{
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 2rem;
}

.core{
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 40%, var(--accent-2) 100%);
  box-shadow: 0 0 20px 4px rgba(110,231,249,.55), 0 0 60px 20px rgba(178,150,255,.25);
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.12); }
}

.ring{
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(237,237,245,.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ring-1{ width: 100px; height: 100px; animation: spin 6s linear infinite; }
.ring-2{ width: 150px; height: 150px; animation: spin 11s linear infinite reverse; }
.ring-3{ width: 210px; height: 210px; animation: spin 17s linear infinite; }

@keyframes spin{
  from{ transform: translate(-50%, -50%) rotate(0deg); }
  to{ transform: translate(-50%, -50%) rotate(360deg); }
}

.dot{
  position: absolute;
  top: -4px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(110,231,249,.7);
}
.dot-b{ background: var(--accent-2); box-shadow: 0 0 8px 2px rgba(178,150,255,.7); }
.dot-c{ background: var(--accent); }
.dot-d{
  background: var(--accent-2);
  top: auto; bottom: -4px; left: auto; right: 30%;
  box-shadow: 0 0 8px 2px rgba(178,150,255,.7);
}

.brand{
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -.01em;
}

.tagline{
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.scroll-cue{
  margin-top: 3rem;
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.scroll-line{
  width: 1px; height: 34px;
  background: linear-gradient(var(--accent), transparent);
  animation: dropline 1.8s ease-in-out infinite;
}
@keyframes dropline{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===========================================================
   REVEAL SECTIONS — about + intake form
   =========================================================== */
.reveal-section{
  max-width: 760px;
  margin: 0 auto;
  padding: 7rem 2rem;
  opacity: 0;
  transform: translateY(28px);
  text-align: center;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-section.in-view{
  opacity: 1;
  transform: translateY(0);
}

.lede{ font-size: 1.05rem; }

.stat-row{
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat{ display: flex; flex-direction: column; gap: .3rem; }
.stat-num{
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: .85rem;
}
.stat-label{ color: var(--text); font-size: .95rem; }

/* intake form */
.info-form{
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}
.field{ display: flex; flex-direction: column; gap: .4rem; }
.field label{
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea{
  background: var(--surface);
  border: 1px solid rgba(237,237,245,.1);
  border-radius: 6px;
  padding: .75rem .9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus{
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.submit-btn{
  justify-self: start;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a12;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.submit-btn:hover{ transform: translateY(-2px); }
.submit-btn:focus-visible{ outline: 2px solid var(--text); outline-offset: 3px; }

.form-note{
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--accent);
  min-height: 1.2em;
}

.site-footer{
  text-align: center;
  padding: 3rem 1rem 4rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--muted);
}

/* ===========================================================
   TOP-LEFT DOT MENU ICON
   =========================================================== */
.menu-toggle{
  position: fixed;
  top: 1.5rem; left: 1.5rem;
  z-index: 60;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(237,237,245,.15);
  background: rgba(18,18,28,.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.menu-dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-dot:nth-child(1){ transform: translate(4px, 4px) rotate(45deg) scaleX(1.6); background: var(--accent-2); }
.menu-toggle[aria-expanded="true"] .menu-dot:nth-child(2){ opacity: 0; transform: scale(0); }
.menu-toggle[aria-expanded="true"] .menu-dot:nth-child(3){ transform: translate(-4px, -4px) rotate(-45deg) scaleX(1.6); background: var(--accent-2); }

/* ===========================================================
   DASHBOARD — slide-in nav panel
   =========================================================== */
.dashboard{
  position: fixed;
  top: 0; left: 0;
  height: 100%;
  width: min(300px, 80vw);
  background: var(--surface);
  border-right: 1px solid rgba(237,237,245,.08);
  z-index: 55;
  padding: 6.5rem 2rem 2rem;
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.dashboard.open{ transform: translateX(0); }

.dashboard-label{
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.dashboard-list{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.dashboard-link{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: .85rem .5rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}
.dashboard-link:hover, .dashboard-link:focus-visible{
  background: var(--surface-2);
  color: var(--accent);
  padding-left: .9rem;
}

/* ===========================================================
   PANEL HOST — Team / Apps / Devices / Contact
   =========================================================== */
.panel-host{
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.panel{
  position: fixed;
  inset: 0;
  background: var(--bg);
  padding: 7rem 2rem 4rem;
  max-width: 760px;
  margin: 0 auto;
  overflow-y: auto;
  display: none;
  opacity: 0;
}
.panel.active{
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.panel-close{
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(237,237,245,.15);
  background: rgba(18,18,28,.7);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.panel-note{
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  border-top: 1px dashed rgba(237,237,245,.12);
  padding-top: 1rem;
}

.team-grid{
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.team-grid li{
  text-align: center; /* centers the name, role, and inline content in this card */
}

.team-photo{
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto .9rem;   /* auto left/right margin centers the block itself */
  border-radius: 50%;
  object-fit: cover;      /* crops the photo to fill the circle without stretching */
  border: 2px solid transparent;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  box-shadow: 0 0 16px 2px rgba(110,231,249,.25);
}

.team-grid h3{ font-size: 1rem; margin-bottom: .1em; }
.role{ font-size: .85rem; margin: 0; }

/* Optional: a larger centered photo for the About section */
.about-photo{
  display: block;
  max-width: 480px;
  width: 100%;
  margin: 2.5rem auto 0;   /* centers the whole image block on the page */
  border-radius: 12px;
}

.app-list{
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.app-list h3{ font-size: 1.15rem; }

.device-list{
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 1.05rem;
  color: var(--text);
}
.device-dot{
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .8rem;
}

.contact-list{
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-label{
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.contact-list a{
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(110,231,249,.35);
}
.contact-list a:hover{ border-color: var(--accent); }

/* ===========================================================
   TEAR TRANSITION OVERLAY
   =========================================================== */
.tear-overlay{
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  overflow: hidden;
}
.tear-dot{
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 640px){
  .team-grid{ grid-template-columns: 1fr; }
  .orbit-logo{ width: 170px; height: 170px; }
  .ring-1{ width: 78px; height: 78px; }
  .ring-2{ width: 118px; height: 118px; }
  .ring-3{ width: 165px; height: 165px; }
}
