/* Forward Deployed — landing page */

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden; padding: 140px var(--gutter) 120px;
}
.hero__orb { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(to bottom, rgba(11, 9, 7, 0), var(--bg));
}
.hero__body {
  position: relative; z-index: 2; max-width: 1180px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .34em; color: var(--mut); }
.hero__title {
  margin-top: 34px; font-weight: 650; font-size: clamp(48px, 8.6vw, 142px);
  line-height: .98; letter-spacing: -.035em; text-wrap: balance;
}
.hero__sub { margin-top: 36px; max-width: 620px; font-size: clamp(17px, 4.2vw, 19px); line-height: 1.6; color: var(--ink-4); }
.hero__cta { margin-top: 44px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }
.hero__ticker {
  position: absolute; z-index: 2; bottom: 26px; left: 0; right: 0; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px;
}
.hero__ticker span {
  font-family: var(--mono); font-size: clamp(9px, 2.4vw, 10.5px);
  letter-spacing: .16em; color: var(--mut-3);
}

/* ---------- client marquee ---------- */
.marquee {
  border-top: 1px solid rgba(245, 240, 232, .07);
  border-bottom: 1px solid rgba(245, 240, 232, .07);
  overflow: hidden; padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__track span {
  font-family: var(--mono); font-size: 12px; letter-spacing: .3em;
  color: var(--mut-2); white-space: nowrap; padding-right: 64px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- 01 definition ---------- */
#define { padding-top: 150px; padding-bottom: 130px; }
.define__body {
  margin-top: 56px; font-weight: 500; font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.28; letter-spacing: -.02em; max-width: 1020px;
}
.define__note { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--mut-2); }

/* ---------- 02 evidence ---------- */
#proof { padding-top: 20px; padding-bottom: 140px; }
.stats {
  margin-top: 64px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 48px 40px;
}
.stat { border-top: 1px solid rgba(245, 240, 232, .14); padding-top: 26px; }
.stat__n { font-weight: 650; font-size: clamp(52px, 5.6vw, 96px); line-height: 1; letter-spacing: -.04em; }
.stat__n em { font-style: normal; color: var(--ac); }
.stat__l { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; color: var(--mut); line-height: 1.7; }

.ledger { margin-top: 96px; border-top: 1px solid var(--line); }
.ledger__row {
  display: grid; grid-template-columns: 1fr minmax(100px, auto);
  align-items: baseline; column-gap: 40px; row-gap: 10px; padding: 30px 8px;
  border-bottom: 1px solid var(--line); transition: background .3s ease;
}
.ledger__row:hover { background: rgba(245, 240, 232, .025); }
.ledger__who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--mut); }
.ledger__num { grid-column: 2; text-align: right; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; color: var(--ac); }
.ledger__what { grid-column: 1 / -1; max-width: 860px; font-size: 17px; line-height: 1.55; color: var(--ink-3); }

/* ---------- 03 operator ---------- */
#operator { padding-top: 20px; padding-bottom: 150px; }
.operator {
  margin-top: 64px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 72px; align-items: start;
}
.operator__col { min-width: 0; }
.operator__title { font-weight: 650; font-size: clamp(36px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.operator__lede { margin-top: 32px; font-size: 17.5px; line-height: 1.65; color: var(--ink-4); max-width: 520px; }
.operator__quote {
  margin-top: 36px; font-family: var(--serif); font-style: italic;
  font-size: 24px; line-height: 1.45; color: var(--ink-2); max-width: 480px;
}
.facts { margin-top: 44px; display: flex; flex-direction: column; }
.facts__row {
  display: grid; grid-template-columns: 110px 1fr; gap: 8px 20px;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.facts__row:last-child { border-bottom: 1px solid var(--line); }
.facts__k { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--mut-2); }
.facts__v { font-size: 15px; color: var(--ink-4); }
.facts__v strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 480px) { .facts__row { grid-template-columns: 1fr; } }

.portrait { display: flex; flex-direction: column; gap: 16px; max-width: 460px; width: 100%; min-width: 0; justify-self: end; }
.portrait__frame {
  display: block; position: relative; aspect-ratio: 4 / 5;
  border: 1px solid rgba(245, 240, 232, .12); padding: 14px;
  background: rgba(245, 240, 232, .02);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.portrait__frame:hover { border-color: var(--ac); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.portrait__frame i {
  position: absolute; width: 14px; height: 14px;
}
.portrait__frame i:nth-child(1) { top: -1px; left: -1px; border-top: 1px solid var(--ac); border-left: 1px solid var(--ac); }
.portrait__frame i:nth-child(2) { top: -1px; right: -1px; border-top: 1px solid var(--ac); border-right: 1px solid var(--ac); }
.portrait__frame i:nth-child(3) { bottom: -1px; left: -1px; border-bottom: 1px solid var(--ac); border-left: 1px solid var(--ac); }
.portrait__frame i:nth-child(4) { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ac); border-right: 1px solid var(--ac); }
.portrait__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.08);
}
.portrait__cta {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  background: rgba(11, 9, 7, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 240, 232, .16);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3);
  transition: border-color .35s ease, color .35s ease;
}
.portrait__cta i { font-style: normal; color: var(--ac); }
.portrait__frame:hover .portrait__cta { border-color: var(--ac); color: var(--ink); }

.portrait__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.portrait__caption span, .portrait__caption a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; color: var(--mut-2);
}
.portrait__caption a { color: var(--mut); }

/* ---------- 04 method ---------- */
#method { padding-top: 20px; padding-bottom: 150px; }
.stages { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 56px 48px; }
.stage { display: flex; flex-direction: column; gap: 18px; }
.stage__k { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--ac); }
.stage__t { font-weight: 650; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.02em; }
.stage p { font-size: 16px; line-height: 1.65; color: var(--ink-4); }

.principle {
  margin-top: 96px; font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; color: var(--ink-2); max-width: 760px;
}
.principle__note { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--mut-2); }
.terms { margin-top: 44px; display: flex; flex-wrap: wrap; }
.terms div {
  flex: 1 1 220px; padding: 24px 28px; margin: -1px 0 0 -1px;
  border: 1px solid rgba(245, 240, 232, .08);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--mut);
}

/* ---------- 05 for the machines ---------- */
#machines { padding-top: 20px; padding-bottom: 150px; }
.machines { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 72px; align-items: center; }
.machines__title { font-weight: 650; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.machines p { margin-top: 30px; font-size: 17.5px; line-height: 1.65; color: var(--ink-4); max-width: 520px; }
.code {
  background: var(--panel); border: 1px solid rgba(245, 240, 232, .1); border-radius: 10px;
  overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  width: 100%; max-width: 560px; justify-self: end; min-width: 0;
}
.code__bar { display: flex; align-items: center; gap: 7px; padding: 12px 18px; border-bottom: 1px solid rgba(245, 240, 232, .08); }
.code__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2E2823; }
.code__bar span { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--mut-2); }
.code pre {
  margin: 0; padding: 22px 24px; font-family: var(--mono);
  font-size: 12.5px; line-height: 1.85; color: #8E867B; overflow-x: auto;
}
.code pre b { color: var(--ink-2); font-weight: 400; }
.code pre u { color: var(--ac); text-decoration: none; }

/* ---------- 06 deploy ---------- */
.deploy {
  position: relative; border-top: 1px solid rgba(245, 240, 232, .07);
  padding: 170px var(--gutter) 150px; overflow: hidden; scroll-margin-top: 60px;
}
.deploy__glow {
  position: absolute; left: 50%; bottom: -340px; transform: translateX(-50%);
  width: 900px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ac) 22%, transparent), rgba(11, 9, 7, 0) 65%);
}
.deploy__body { position: relative; max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.deploy__status { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .26em; color: var(--mut); }
.deploy__status i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ac);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ac) 80%, transparent);
  animation: pulse 3.2s ease-in-out infinite;
}
.deploy__title { margin-top: 36px; font-weight: 650; font-size: clamp(46px, 7.6vw, 122px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.deploy__sub { margin-top: 32px; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-4); }
.deploy__cta { margin-top: 48px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; }

@media (max-width: 560px) {
  .ledger__row { grid-template-columns: 1fr; }
  .ledger__num { grid-column: 1; text-align: left; }
  .portrait { justify-self: stretch; }
}
