/* Orbyts Group — homepage.
   A faithful build of "Orbyts Homepage.dc.html" from the Orbyts design
   project. Two movements: a black orbital hero, then a paper-white
   "who we are" panel. No build step, no external requests. */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-void);
}

body {
  min-height: 100vh;
  color: #fff;
  font-family: var(--font-ui);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-fg); text-decoration: none; }
a:hover { color: var(--color-primary); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ringBreathe {
  0%, 100% { opacity: .32; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: .6;  transform: translate(-50%, -50%) scale(1.035); }
}
@keyframes glowDrift {
  0%, 100% { opacity: .55; transform: translate3d(0, 0, 0) scale(1); }
  50%      { opacity: .85; transform: translate3d(-3%, 4%, 0) scale(1.08); }
}
/* One set per orbit so each keeps its 0° / 60° / 120° starting phase — a
   shared 0→360 keyframe would override the offsets and stack all three. */
@keyframes orbit1 { from { transform: rotate(0);      } to { transform: rotate(360deg);  } }
@keyframes orbit2 { from { transform: rotate(60deg);  } to { transform: rotate(-300deg); } }
@keyframes orbit3 { from { transform: rotate(120deg); } to { transform: rotate(480deg);  } }

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 40px 40px;
  background: var(--color-void);
  overflow: hidden;
}

/* Pink bloom off the top-right corner. */
.hero-glow {
  position: absolute;
  top: -28vh;
  right: -16vw;
  width: 78vw;
  height: 78vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 999px;
  background: radial-gradient(circle,
    rgba(255, 0, 144, 0.30) 0%,
    rgba(255, 0, 144, 0.10) 38%,
    rgba(255, 0, 144, 0) 68%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite;
}

/* Concentric orbit rings, breathing behind the mark. */
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(150vh, 150vw);
  height: min(150vh, 150vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ringBreathe 12s ease-in-out infinite;
}
.hero-rings span {
  position: absolute;
  border-radius: 999px;
}
.hero-rings span:nth-child(1) { inset: 0;   border: 1px solid rgba(255, 255, 255, 0.055); }
.hero-rings span:nth-child(2) { inset: 14%; border: 1px solid rgba(255, 255, 255, 0.05); }
.hero-rings span:nth-child(3) { inset: 28%; border: 1px solid rgba(255, 0, 144, 0.10); }
.hero-rings span:nth-child(4) { inset: 42%; border: 1px solid rgba(255, 255, 255, 0.035); }

.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 0 24px;
}

.rise      { animation: rise .8s var(--ease-standard) .05s both; }
.rise-1    { animation: rise .8s var(--ease-standard) .12s both; }
.rise-2    { animation: rise .8s var(--ease-standard) .2s both; }
.rise-3    { animation: rise .8s var(--ease-standard) .28s both; }

.hero-title {
  margin: 24px 0 0;
  line-height: 1;
}

.hero-tagline {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 2.1vw, 22px);
  letter-spacing: -0.01em;
  color: #cccccc;
}
.hero-tagline .dot {
  color: var(--color-primary);
  padding: 0 12px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.hero-status .rule {
  width: 44px;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22));
}
.hero-status .rule.left { background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22)); }
.hero-status .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ── Brand marks ──────────────────────────────────────────── */

/* Three concentric orbits at different speeds and directions. */
.orbit-mark g { transform-box: view-box; transform-origin: 60px 60px; }
.orbit-mark .o1 { animation: orbit1 18s linear infinite; }
.orbit-mark .o2 { transform: rotate(60deg);  animation: orbit2 14s linear infinite; }
.orbit-mark .o3 { transform: rotate(120deg); animation: orbit3 24s linear infinite; }

/* ORBYTS — Manrope 500, caps, wide tracking, the Y always in Pulse pink.
   The left pad optically re-centres against the trailing letter-space. */
.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 500;
  letter-spacing: var(--track-wordmark);
  padding-left: var(--track-wordmark);
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  color: var(--color-fg);
}
.wordmark .y { color: var(--color-primary); }
.wordmark--hero { font-size: clamp(40px, 8vw, 104px); color: #ffffff; }
.wordmark--ink  { font-size: 13px; }
.wordmark--ink .y { color: var(--color-primary-ink); }

/* ── "Who we are" panel ───────────────────────────────────── */

.panel {
  background: var(--color-paper);
  color: var(--color-fg);
  padding: clamp(80px, 10vw, 140px) 40px;
}
.panel-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-primary-ink);
}

.panel-intro { max-width: 640px; }
.panel-intro h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.15;
  letter-spacing: var(--track-heading);
  text-wrap: pretty;
}
.panel-intro p {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-fg-secondary);
  text-wrap: pretty;
}
.panel-intro strong { font-weight: 600; color: var(--color-fg); }

/* Hairline gaps do the dividing, so the cards read as one object. */
.pillars {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-template-rows: auto auto auto;
  gap: 1px;
  background: var(--color-border-2);
  border: 1px solid var(--color-border-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
/* Subgrid keeps the label / heading / body baselines aligned across cards. */
.pillar {
  background: var(--color-surface);
  padding: 40px 32px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 20px;
  align-content: start;
}
.pillar .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-primary-ink);
}
.pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: var(--track-heading);
}
.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-fg-secondary);
  text-wrap: pretty;
}

/* ── Footer ───────────────────────────────────────────────── */

.site-foot {
  margin: clamp(64px, 8vw, 104px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.foot-links a { color: inherit; }
.foot-legal {
  margin: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

@media (max-width: 560px) {
  .hero  { padding: 24px 20px 32px; }
  .panel { padding-left: 20px; padding-right: 20px; }
  .pillar { padding: 32px 24px; }
  /* Wide mono tracking wraps the ABN onto a stub line on narrow screens. */
  .foot-legal { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
