/* =========================================================
   Orbit by Lefty — shared stylesheet
   Palette pulled directly from the founder's logo.
   ========================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Design tokens (the logo's colours) ---- */
:root {
  --bg:          #0B0C10;  /* deep black background */
  --bg-2:        #0E0F15;  /* slightly lifted background for alternating sections */
  --gold:        #F0B429;  /* orbital ring + dot */
  --gold-soft:   #FFD37A;  /* lighter gold for gradients/glow */
  --white:       #F5F5F0;  /* the ORBIT wordmark */
  --grey:        #8A8A9A;  /* the "by lefty" subtext */
  --grey-dim:    #5E5E6E;  /* even quieter text */
  --card:        #14151C;  /* card surface */
  --border:      #1E2030;  /* card border */
  --border-soft: #16171F;

  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1140px;
  --gap:         24px;

  --shadow:      0 10px 40px rgba(0,0,0,0.35);
  --glow:        0 0 40px rgba(240,180,41,0.25);

  --t:           220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 14px 0 16px; }
.section-lead  { color: var(--grey); max-width: 620px; font-size: 1.05rem; }
.text-center   { text-align: center; }
.center-block  { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #1a1304; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,12,16,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo img { width: 120px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey);
  position: relative;
  transition: color var(--t);
}
.nav__links a:hover { color: var(--white); }
.nav__links a.active { color: var(--white); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav__cta { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in panel */
.nav__mobile {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: var(--card);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
  padding: 90px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--grey);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.nav__mobile a.active, .nav__mobile a:hover { color: var(--white); }
.nav__mobile .btn { margin-top: 18px; }
.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
  z-index: 150;
}
.nav__backdrop.open { opacity: 1; pointer-events: auto; }

/* =========================================================
   Hero — the signature orbital animation
   ========================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero__orbit {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 36px;
}
/* the ring (mirrors the logo) */
.hero__orbit .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 30px rgba(240,180,41,0.35), inset 0 0 24px rgba(240,180,41,0.12);
}
/* the central planet dot */
.hero__orbit .planet {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(240,180,41,0.7);
}
/* the orbiting glowing dot tracing the ring */
.hero__orbit .satellite {
  position: absolute;
  top: 50%; left: 50%;
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
  animation: orbit 7s linear infinite;
}
.hero__orbit .satellite::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(245,245,240,0.9), 0 0 28px rgba(240,180,41,0.5);
}
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}
.badge .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(240,180,41,0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,180,41,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(240,180,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,180,41,0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 880px;
  margin: 0 auto 22px;
}
.hero h1 .accent { color: var(--gold); }
.hero__sub {
  color: var(--grey);
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto 34px;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Social proof bar
   ========================================================= */
.proof { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 28px 0; }
.proof__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.proof__label { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-dim); }
.chip {
  font-size: 0.88rem;
  color: var(--grey);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
}

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-4px); border-color: #2a2c3d; box-shadow: var(--shadow); }
.card--featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(240,180,41,0.25); }

.card__icon {
  font-size: 1.6rem;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,180,41,0.10);
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 0.98rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.92rem;
  color: var(--gold);
}
.card__link span { transition: transform var(--t); }
.card:hover .card__link span { transform: translateX(4px); }

.tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,180,41,0.12);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}

/* =========================================================
   How it works (steps)
   ========================================================= */
.step { position: relative; padding-left: 0; }
.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: 0.95rem; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.stat__num { font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.stat__label { color: var(--grey); font-size: 0.95rem; margin-top: 6px; }

.casebox {
  background: linear-gradient(160deg, var(--card), #0f1016);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
}
.quote { font-style: italic; color: var(--grey); border-left: 2px solid var(--gold); padding-left: 16px; margin-top: 22px; }

/* =========================================================
   Pricing
   ========================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card--pop { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(240,180,41,0.3), var(--glow); }
.price-card .pop-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1304;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 700; margin: 8px 0 4px; }
.price-card .amount small { font-size: 0.9rem; font-weight: 400; color: var(--grey); }
.price-card .desc { color: var(--grey); font-size: 0.92rem; margin-bottom: 20px; min-height: 40px; }
.price-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.price-card li { font-size: 0.95rem; color: var(--white); padding: 8px 0; border-bottom: 1px solid var(--border-soft); display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.price-card li.no { color: var(--grey-dim); }
.price-card li.no::before { content: "✕"; color: var(--grey-dim); }

/* Pricing comparison table */
.ptable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.ptable { width: 100%; border-collapse: collapse; min-width: 640px; }
table.ptable th, table.ptable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; }
table.ptable thead th { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; background: var(--card); }
table.ptable thead th.pop { color: var(--gold); }
table.ptable td.yes { color: var(--white); }
table.ptable td.yes::before { content: "✓ "; color: var(--gold); }
table.ptable td.no { color: var(--grey-dim); }
table.ptable td.no::before { content: "✕ "; }
table.ptable tbody tr:hover { background: rgba(255,255,255,0.015); }
table.ptable .rowhead { color: var(--grey); font-weight: 500; }
table.ptable .price-row td { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none; border: 0; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem; font-weight: 600; color: var(--white);
  padding: 22px 40px 22px 0;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.4rem; transition: transform var(--t);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 300ms ease; color: var(--grey); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 22px; }

/* =========================================================
   Services detail page
   ========================================================= */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 64px 0; border-bottom: 1px solid var(--border-soft); }
.svc:last-child { border-bottom: 0; }
.svc__icon { font-size: 2rem; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: rgba(240,180,41,0.10); border: 1px solid rgba(240,180,41,0.25); border-radius: 16px; margin-bottom: 20px; }
.svc h2 { font-size: 1.9rem; margin-bottom: 14px; }
.svc p { color: var(--grey); margin-bottom: 16px; }
.svc__meta { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.svc__meta h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim); margin: 18px 0 10px; }
.svc__meta h4:first-child { margin-top: 0; }
.svc__meta ul { list-style: none; }
.svc__meta li { font-size: 0.95rem; padding: 6px 0; display: flex; gap: 10px; color: var(--white); }
.svc__meta li::before { content: "→"; color: var(--gold); }
.svc__pricebar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.svc__price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; }
.svc__price small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; }

/* =========================================================
   Work page placeholders
   ========================================================= */
.work-card.placeholder { border-style: dashed; border-color: #2a2c3d; background: transparent; display: flex; flex-direction: column; justify-content: center; min-height: 220px; }
.inprogress {
  display: inline-block; align-self: flex-start;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 56px; }
.contact-opt { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color var(--t), transform var(--t); }
.contact-opt:hover { border-color: var(--gold); transform: translateY(-3px); }
.contact-opt .ico { font-size: 1.5rem; margin-bottom: 12px; }
.contact-opt h3 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-opt .val { color: var(--gold); font-size: 0.95rem; word-break: break-word; }
.contact-opt .note { color: var(--grey); font-size: 0.85rem; margin-top: 8px; }

form.brief { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; max-width: 720px; margin-inline: auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  transition: border-color var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer; }
.form-note { color: var(--grey); font-size: 0.88rem; text-align: center; margin-top: 16px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: var(--grey); max-width: 560px; margin: 0 auto 30px; font-size: 1.05rem; }
.cta-band .hero__cta { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border-soft); padding: 56px 0 36px; background: var(--bg-2); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer__logo img { width: 80px; height: auto; margin-bottom: 14px; }
.footer__brand p { color: var(--grey); font-size: 0.92rem; max-width: 280px; }
.footer__links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--grey); font-size: 0.95rem; padding: 5px 0; transition: color var(--t); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; color: var(--grey-dim); font-size: 0.88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .grid-3, .grid-4, .price-grid, .stats, .contact-options { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-band .btn { width: 100%; }
  .hero__cta, .cta-band .hero__cta { flex-direction: column; }
  .footer__top { flex-direction: column; }
  form.brief { padding: 24px; }
  .casebox { padding: 28px; }
}

/* =========================================================
   Respect reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__orbit .satellite { display: none; }
  .reveal { opacity: 1; transform: none; }
}
