/* Mason — clean, white, one idea per screen */
:root {
  --ink: #0a0a0a;
  --mute: #5f5f66;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --accent: #f2b400;
  --font: "General Sans", -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(22px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img, canvas { display: block; }

/* hairline frame, like a spec sheet */
body::before {
  content: ""; position: fixed; inset: 10px; border: 1px solid var(--line);
  pointer-events: none; z-index: 30;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 10px; left: 10px; right: 10px; z-index: 40;
  height: 72px; padding: 0 calc(var(--gutter) - 10px);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.glyph {
  width: 30px; aspect-ratio: 388 / 240; background: currentColor;
  -webkit-mask: url(assets/logo.svg) center / contain no-repeat;
  mask: url(assets/logo.svg) center / contain no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--font); letter-spacing: -.005em;
  transition: background .2s ease, transform .2s ease;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #2a2a2d; }
.btn--solid:active { transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.btn:disabled { opacity: .5; cursor: default; }


/* ---------- navbar and pill button (after trymarrow.org) ---------- */
section[id] { scroll-margin-top: 56px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.nav .btn-pill { justify-self: end; }
.nav__pill {
  display: flex; align-items: center; gap: 18px; padding: 11px 26px; border-radius: 999px;
  background: rgba(10, 10, 10, .055); font-size: 14px; color: var(--ink);
}
.nav__pill a { opacity: .78; transition: opacity .2s; white-space: nowrap; }
.nav__pill a:hover { opacity: 1; }
.nav__pill i { width: 3px; height: 3px; border-radius: 50%; background: var(--mute); opacity: .7; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 14px 14px 26px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.btn-pill:hover { background: #26262a; }
.btn-pill:active { transform: scale(.98); }
.btn-pill__arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .25s ease; }
.btn-pill:hover .btn-pill__arrow { transform: translate(2px, -2px); }
.btn-pill--sm { padding: 8px 8px 8px 18px; font-size: 14px; }
.btn-pill--sm .btn-pill__arrow { width: 24px; height: 24px; }
@media (max-width: 760px) { .nav__pill { display: none; } .nav { display: flex; justify-content: space-between; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 72px calc(var(--gutter) + 10px) 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px;
}
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 28px; padding: 0; margin-bottom: 28px;
  font-size: 15px; color: var(--mute);
}
.chip b { color: var(--ink); font-weight: 600; }
.chip__logo { display: inline-block; width: 186px; height: 26px; border-radius: 3px; background: #5a2bd0 url(assets/entrepreneur-first.png) center / 188px auto no-repeat; }
.hero h1 {
  font-weight: 500; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; max-width: 13em; text-wrap: balance;
}
.hero__sub { margin: 26px 0 32px; max-width: 30em; color: var(--mute); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.fine { margin-top: 14px; font-size: 13px; color: var(--mute); }

.hero__stage { position: relative; height: min(76vh, 720px); min-height: 380px; }
.hero__stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero__stage canvas:active { cursor: grabbing; }
.hint {
  position: absolute; left: 0; right: 0; bottom: 4%; text-align: center;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  transition: opacity .4s ease; pointer-events: none;
}
.hint.is-gone { opacity: 0; }

/* ---------- blocks ---------- */
.block { padding: clamp(80px, 12vw, 160px) calc(var(--gutter) + 10px); border-top: 1px solid var(--line); margin: 0 10px; padding-left: calc(var(--gutter)); padding-right: var(--gutter); }
.label { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; }
.block h2 { font-weight: 500; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; }

.cols { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cols article { padding: 28px 28px 8px 0; }
.cols article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.num { font-size: 12px; color: var(--mute); letter-spacing: .08em; }
.cols h3 { margin: 18px 0 10px; font-weight: 500; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.cols p { color: var(--mute); max-width: 24em; }

/* ---------- partners ---------- */
/* Grey logos in a row, like a spec sheet. These are plain-text placeholders:
   to use a real logo, replace the <span class="wm ..."> with
   <img src="assets/partners/name.svg" alt="Name"> and it will be greyed the same way. */
.partners { margin: 0 10px; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; }
.partners .label { margin-bottom: 26px; }
.partners__row { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.partners__row li { display: flex; align-items: center; }
.partners__row img { height: 30px; width: auto; filter: grayscale(1); opacity: .55; }
.wm { color: #8d8d93; font-size: clamp(20px, 2.4vw, 28px); line-height: 1; white-space: nowrap; }
.wm--a { font-weight: 600; letter-spacing: -.03em; }
.wm--b { font-weight: 600; letter-spacing: .06em; font-size: clamp(17px, 2vw, 23px); }
.wm--c { font-weight: 500; letter-spacing: -.02em; font-style: italic; }
.wm--d { font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 700px) { .partners__row { justify-content: center; } }

/* ---------- what's inside (explode) ---------- */
.block.inside { padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(40px, 6vh, 72px); }
.inside h2 { font-size: clamp(30px, 3.4vw, 44px); }
.inside__grid { margin-top: clamp(20px, 3vh, 36px); display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.inside__stage { position: relative; border: 1px solid var(--line); display: flex; flex-direction: column; height: clamp(420px, 60vh, 560px); }
.inside__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.btn-line { height: 40px; padding: 0 18px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; transition: background .2s, color .2s; }
.btn-line:hover { background: var(--ink); color: #fff; }
.inside__stage canvas { position: absolute; left: 0; right: 0; top: 69px; bottom: 0; width: 100%; height: calc(100% - 69px); cursor: grab; touch-action: pan-y; }
.inside__stage canvas:active { cursor: grabbing; }
.inside__loading { position: absolute; inset: 56px 0 0; display: grid; place-items: center; color: var(--mute); font-size: 13px; pointer-events: none; }
.inside__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); align-self: stretch; }
.inside__list li { border-bottom: 1px solid var(--line); }
.inside__list li:last-child { border-bottom: 0; }
.inside__list button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border: 0; background: #fff; color: var(--mute); text-align: left;
  font: 400 16px/1.3 var(--font); cursor: pointer; transition: background .2s, color .2s;
}
.inside__list button b { font-weight: 500; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.inside__list button:hover { background: var(--soft); }
.inside__list li.is-active button { background: var(--soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); }
.inside__list .detail { display: none; padding: 0 22px 22px; color: var(--mute); font-size: 15px; line-height: 1.55; }
.inside__list li.is-active .detail { display: block; animation: detailIn .45s ease both; }
.inside__list .detail p { margin: 0; max-width: 32em; }
.inside__list .detail dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.inside__list .detail dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.inside__list .detail dt { color: var(--mute); }
.inside__list .detail dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
@keyframes detailIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .inside__grid { grid-template-columns: 1fr; } .inside__stage { height: 480px; } }

/* ---------- built by: moving carousel ----------
   Plain-text wordmarks for now. To use a real logo, replace a <span class="wm ..."> with
   <img src="assets/builders/name.svg" alt="Name">; images are greyed the same way. */
.builders { margin: 0 10px; padding: 34px 0 40px; border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.builders .label { margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 64px; padding: 0 32px; margin: 0; list-style: none; flex: none; }
.marquee__list img { width: auto; display: block; transition: filter .25s ease; }
.marquee__list li:hover img { filter: brightness(.3); }
@keyframes marquee { to { transform: translateX(-50%); } }
.wm--lt   { font-weight: 700; letter-spacing: -.02em; }
.wm--sys  { font-weight: 700; letter-spacing: .14em; font-size: clamp(17px, 2vw, 22px); }
.wm--crri { font-weight: 600; letter-spacing: .04em; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: clamp(16px, 1.9vw, 21px); }
.wm--lam  { font-weight: 500; letter-spacing: .01em; font-family: Georgia, "Times New Roman", serif; }
.wm--jl   { font-weight: 600; letter-spacing: -.04em; font-size: clamp(22px, 2.6vw, 30px); }
.wm--nc   { font-weight: 700; letter-spacing: -.03em; text-transform: lowercase; }
.wm--uc   { font-weight: 600; letter-spacing: -.01em; }
.wm--cap  { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(16px, 1.9vw, 21px); }
.wm--sh   { font-weight: 600; letter-spacing: -.02em; font-style: italic; }
.wm--vc   { font-weight: 500; letter-spacing: .02em; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.wm--bits { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(16px, 1.9vw, 21px); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; gap: 22px 48px; }
}

/* ---------- on the job: compact sample-run dashboard ----------
   Built to fit in one screen: three columns, heights tied to the viewport. */
.block.dash { padding-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(40px, 6vh, 72px); }
.dash h2 { font-size: clamp(30px, 3.4vw, 44px); }
.dash__lede { margin-top: 10px; font-size: 15px; }
.dash__panel { margin-top: clamp(18px, 3vh, 30px); background: #0f1012; color: #fff; padding: 14px; }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding: 0 4px 12px; }
.dash__unit { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.dash__unit .glyph { width: 22px; }
.dash__chips { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.dchip { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.dchip em { font-style: normal; font-variant-numeric: tabular-nums; color: #fff; }
.dchip--rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4d; animation: dpulse 1.4s ease-in-out infinite; }
@keyframes dpulse { 50% { opacity: .35; } }
.dash__clock { font-variant-numeric: tabular-nums; font-size: 13px; color: rgba(255,255,255,.6); }

.dash__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: clamp(360px, 56vh, 470px); }
.dcol { min-width: 0; min-height: 0; }
.dcol--mid, .dcol--end { display: grid; gap: 12px; }
.dcol--mid { grid-template-rows: auto 1fr; }
.dcol--end { grid-template-rows: 1fr auto; }
.dcard { border: 1px solid rgba(255,255,255,.1); padding: 14px 16px; min-width: 0; min-height: 0; }
.dcol--map { display: flex; flex-direction: column; }
.dlabel { margin: 0 0 8px; font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.dmap { position: relative; flex: 1; min-height: 0; }
.dmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#dSpark { display: block; width: 100%; height: 52px; }

.dcam { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.dcam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dcard--cam[hidden] { display: none; }

.dcard--gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: center; }
.dbig { margin: 0; display: flex; align-items: baseline; gap: 6px; font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dbig small { font-size: 12px; letter-spacing: 0; color: rgba(255,255,255,.55); font-weight: 400; }
.dbar { height: 6px; margin-top: 12px; background: rgba(255,255,255,.1); }
.dbar span { display: block; height: 100%; width: 0; background: #fff; }
.dbar--amber span { background: #f5b014; }
.dscale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: rgba(255,255,255,.45); }

.devents { list-style: none; margin: 0; padding: 0; }
.devents li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.8); }
.devents li:first-child { border-top: 0; padding-top: 0; }
.devents time { flex: none; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.45); font-size: 12px; }
.devents li.new { animation: devIn .5s ease both; }
.devents li.warn { color: #ffb347; }
.devents li.warn time { color: rgba(255,179,71,.7); }
.devents li.warn::before { content: ""; flex: none; align-self: center; width: 7px; height: 7px; border-radius: 50%; background: #ff7a3c; order: -1; margin-right: -4px; }
@keyframes devIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drow .dlabel { margin-bottom: 6px; }
.dmini { font-size: 12px; color: rgba(255,255,255,.55); }
.dmini b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.dcap { margin: 6px 0 0; font-size: 11px; color: rgba(255,255,255,.45); }

@media (max-width: 1000px) {
  .dash__grid { grid-template-columns: 1fr 1fr; height: auto; }
  .dcol--map { grid-column: 1 / -1; }
  .dmap { min-height: 300px; flex: none; }
}
@media (max-width: 640px) { .dash__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dchip--rec i { animation: none; } .devents li.new { animation: none; } }

/* ---------- contact ---------- */
.block--contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(44px, 7vh, 76px); padding-bottom: clamp(44px, 7vh, 76px); }
.block--contact h2 { font-size: clamp(30px, 3.4vw, 44px); }
.block--contact .lede { margin-top: 14px; font-size: 15px; }
.block--contact .form { gap: 12px; }
.form .btn-pill { justify-self: start; margin-top: 4px; }
.block--contact .form__row { gap: 12px; }
.block--contact .field { gap: 6px; }
.block--contact .field input, .block--contact .field select, .block--contact .field textarea { padding: 10px 12px; font-size: 15px; }
.block--contact .field textarea { min-height: 64px; }
.lede { margin-top: 20px; max-width: 34em; color: var(--mute); font-size: 17px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff;
  font: 400 16px/1.4 var(--font); color: var(--ink); outline: none; transition: border-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230a0a0a' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1a8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.form .btn { justify-self: start; margin-top: 4px; }
.form__msg { min-height: 1.4em; font-size: 14px; color: var(--mute); }
.form__msg.is-ok { color: #1a7a3c; }
.form__msg.is-err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer ---------- */
.footer {
  margin: 0 10px 10px; padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--mute);
}
.footer .brand { color: var(--ink); font-size: 15px; }
.footer .glyph { width: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; gap: 0; align-content: start; }
  .hero__stage { height: 52vh; min-height: 320px; order: -1; margin-top: -12px; margin-bottom: 8px; }
  .hero { padding-bottom: 56px; }
  .cols { grid-template-columns: 1fr; }
  .cols article, .cols article + article { padding: 24px 0; border-left: 0; }
  .cols article + article { border-top: 1px solid var(--line); }
  .block--contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
