/* ============================================================
   Boundless Opportunities LLC — v2 stylesheet
   Direction : instrument-panel / telemetry HUD
   Palette   : void violet-black, azure, coral
   Type      : Sora (display) / Manrope (body) / JetBrains Mono (data)
   ============================================================ */

:root {
  --void: #07070f;
  --void-2: #0c0c18;
  --panel: #10101f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --chalk: #edeef7;
  --haze: #9a9ab8;
  --haze-2: #6e6e8c;

  --azure: #4d7cfe;
  --azure-soft: #7b9dff;
  --coral: #ff5e8a;
  --mint: #3ddbb0;

  --wrap: 1200px;
  --gutter: 28px;
  --cut: 14px;

  --f-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient field: fine grid + two soft light sources */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 460px at 12% -6%, rgba(77, 124, 254, 0.20), transparent 68%),
    radial-gradient(620px 420px at 92% 8%, rgba(255, 94, 138, 0.13), transparent 66%);
}

main,
.site-header,
.site-footer { position: relative; z-index: 1; }

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

a { color: var(--azure-soft); text-decoration: none; }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--azure);
  color: #fff;
  padding: 12px 18px;
  z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azure-soft);
  margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--azure); }

.h-xl, .h-lg, .h-md, .h-sm {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0 0 20px;
  color: #fff;
}

.h-xl { font-size: clamp(2.6rem, 5.8vw, 4.3rem); font-weight: 700; }
.h-lg { font-size: clamp(1.95rem, 3.9vw, 2.9rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.16; }
.h-sm { font-size: 1.12rem; line-height: 1.32; letter-spacing: -0.02em; margin-bottom: 12px; }

.grad {
  background: linear-gradient(96deg, var(--azure-soft) 0%, #c9d6ff 42%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--haze);
  max-width: 60ch;
  margin: 0 0 30px;
}

.muted { color: var(--haze-2); }

/* ---------- HUD plates ---------- */

.plate {
  background: linear-gradient(168deg, var(--panel) 0%, var(--void-2) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--azure);
  background: var(--azure);
  color: #fff;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover {
  background: #5f8bff;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(77, 124, 254, 0.4), 0 10px 34px -10px rgba(77, 124, 254, 0.85);
  transform: translateY(-1px);
}

.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--chalk); }
.btn--ghost:hover {
  background: rgba(77, 124, 254, 0.08);
  border-color: var(--azure);
  color: #fff;
  box-shadow: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 7, 15, 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  position: relative;
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  background: linear-gradient(150deg, rgba(77, 124, 254, 0.28), rgba(255, 94, 138, 0.18));
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--azure-soft);
  box-shadow: 0 0 12px 2px rgba(123, 157, 255, 0.7);
}

.brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.brand-name span {
  display: block;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--haze-2);
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  position: relative;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--haze);
  padding: 8px 0;
}
.nav a:hover { color: #fff; }
.nav a.is-current { color: #fff; }
.nav a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--azure);
  box-shadow: 0 0 10px 1px rgba(77, 124, 254, 0.8);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk);
}

/* ---------- Hero ---------- */

.hero { padding: 92px 0 78px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.hero-note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--haze-2);
  margin-top: 30px;
}

.hero-lonely { max-width: 68ch; }

/* ---------- Signature: telemetry console ---------- */

.console { padding: 0; overflow: hidden; }

.console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--haze-2);
}

.console-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px 1px rgba(61, 219, 176, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.32; } }

.console-body {
  padding: 20px 18px 24px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 2.05;
  min-height: 326px;
}

.cline {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  color: var(--haze);
  opacity: 0;
  transform: translateY(4px);
}
.cline.is-shown { opacity: 1; transform: none; transition: opacity 0.34s var(--ease), transform 0.34s var(--ease); }
.cline .mark { color: var(--mint); }
.cline .t { color: var(--haze-2); font-size: 11.5px; }
.cline.is-cmd { color: var(--chalk); grid-template-columns: 16px 1fr; }
.cline.is-cmd .mark { color: var(--coral); }
.cline.is-final { color: #fff; }
.cline.is-final .mark { color: var(--azure-soft); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section--edge { border-top: 1px solid var(--line); }
.section-head { max-width: 66ch; margin-bottom: 52px; }

/* ---------- Capability grid ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  padding: 30px 26px 32px;
  background: linear-gradient(168deg, var(--panel) 0%, var(--void-2) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}
.card:hover { border-color: rgba(77, 124, 254, 0.45); transform: translateY(-3px); }
.card p { margin: 0; font-size: 15px; color: var(--haze); }

.card-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}

/* ---------- Process rail ---------- */

.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.rail-node { position: relative; padding-top: 34px; }
.rail-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: -24px;
  height: 1px;
  background: var(--line-2);
}
.rail-node:last-child::before { right: 0; }
.rail-node::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--void);
  border: 1px solid var(--azure);
  box-shadow: 0 0 12px 1px rgba(77, 124, 254, 0.6);
}

.rail-num {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--haze-2);
  margin-bottom: 12px;
}
.rail-node p { margin: 0; font-size: 14.5px; color: var(--haze); }

/* ---------- Service rows ---------- */

.svc {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.svc:last-of-type { border-bottom: 0; }
.svc p { margin: 0 0 18px; color: var(--haze); }

.svc-index {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  padding-top: 8px;
}

.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.taglist li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--haze);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 11px;
}

/* ---------- Spec readout ---------- */

.spec { padding: 24px 26px 12px; }

.spec-title {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--haze-2);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 6px;
}

.spec-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: 0; }

.spec-key {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze-2);
}
.spec-val { font-size: 14px; line-height: 1.5; color: var(--chalk); }

/* ---------- Split prose ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.prose p { color: var(--haze); }
.prose p:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: #fff; margin: 32px 0 10px; letter-spacing: -0.02em; }
.prose ul { color: var(--haze); padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--azure); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: 56px; align-items: start; }

.form-plate { padding: 34px 32px 36px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
  margin-bottom: 9px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--chalk);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  padding: 13px 14px;
  border-radius: 0;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--haze-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--azure);
  background: rgba(77, 124, 254, 0.07);
  outline-offset: 0;
}
.field select option { background: var(--panel); color: var(--chalk); }
.field textarea { min-height: 150px; resize: vertical; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 13px; color: var(--haze-2); margin: 16px 0 0; }

.form-status { margin: 0 0 22px; padding: 14px 16px; font-size: 14.5px; display: none; }
.form-status.is-ok { display: block; background: rgba(61, 219, 176, 0.1); border-left: 2px solid var(--mint); color: var(--chalk); }
.form-status.is-err { display: block; background: rgba(255, 94, 138, 0.1); border-left: 2px solid var(--coral); color: var(--chalk); }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--chalk); font-size: 15px; }
.detail-list li:last-child { border-bottom: 0; }
.detail-list b {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--haze-2);
  margin-bottom: 6px;
}

/* ---------- CTA ---------- */

.cta-plate {
  padding: 54px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background:
    radial-gradient(620px 260px at 15% 0%, rgba(77, 124, 254, 0.22), transparent 70%),
    radial-gradient(520px 240px at 88% 100%, rgba(255, 94, 138, 0.16), transparent 70%),
    var(--panel);
}
.cta-plate .lede { margin-bottom: 0; }

/* ---------- Legal ---------- */

.legal { max-width: 76ch; }
.legal h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.24rem; color: #fff; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--chalk); margin: 28px 0 8px; }
.legal p, .legal li { color: var(--haze); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 9px; }
.legal li::marker { color: var(--azure); }

.legal-meta {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--haze-2);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: rgba(9, 9, 18, 0.7); padding: 66px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 46px; padding-bottom: 44px; }

.footer-about { font-size: 14.5px; color: var(--haze); margin: 22px 0 0; max-width: 42ch; }

.footer-title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--haze-2);
  margin: 0 0 18px;
}

.footer-list { list-style: none; margin: 0; padding: 0; font-size: 14.5px; color: var(--haze); }
.footer-list li { margin-bottom: 11px; }
.footer-list a { color: var(--haze); }
.footer-list a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--haze-2);
}
.footer-bottom a { color: var(--haze); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero { padding: 58px 0 52px; }
  .section { padding: 62px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(9, 9, 18, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-current::after { display: none; }
  .nav-toggle { display: block; }

  .cards { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 28px; }
  .rail-node::before { right: 0; }
  .svc { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-plate { padding: 38px 26px; }
  .form-plate { padding: 26px 22px 28px; }
  .console-body { min-height: 300px; font-size: 11.5px; }
  .spec-row { grid-template-columns: 100px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cline { opacity: 1; transform: none; }
  .console-dot { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
