/* font:start (generated by scripts/build-map-font.py) */
@font-face {
  font-family: 'Cartographic Serif';
  src: url(data:font/woff2;base64,d09GMgABAAAAAAisAAoAAAAAEXgAAAhfAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgTQKmVSTcwE2AiQDdAs8AAQgBYJcB1wbrA0gjsN04yvTSJI3zg3hpv8XoINLwEMJ1KiJAhXEK1TcplqxqUrfN+32RCHKJpvb1sjGV7ys8lUoj8CiCB4JQl9lBVjFX/u1+j8qiWqaAjHu7Z69ExfMkqiHylzDM00lMURLDBVCI2S8kUJlGy4PAv/balgM7cReIyCnElkDLFCEkmR0LAUqin0mD5uX0NNuoF0PSIcjJZYw4Bk+kk2lmNWzsUk7iSnpNet0GXw2m5HF46mYtFQw/waYLyX+GbPBHKkGmEYVILzXWGCjYSGj4MAguHiY6BigRUSoUCRWbOJsQARQ/jGUTW8xgOEMFiBbFgUZiY9AOLkbCd3U0uT7BvAFh0xIoEwBheDhTg442x/HKc5s9iICJXDCwYEhJoSOhJuPkyWO80QUGoYhO/ciFgP7XBEU7NgDKNfdTvlKbObYpVsYVpYEAR765Kqx5TcuHLHB1CJccGruXLF3UJzfzY4pIYagWya3o1rA2NHZ57dRMenOcS+f2OWlO8a8fMt2L7txRjHeEk6M6Y6jWK12O4NuqgEve+dZ2zzUOLnfSWPNsNVW4QXof46iLkSvXiEDL9HGcjgrnRGqDlxxr6O6h/rg1Ysut0Q1bXF7U8my5yEF9L9AnJ5XiR6Xn+MkL1/SEQ9DwzQVVnUSORS4ShrWzeFVtEUpwq6K6s6LK6DfSQJQDbLEPaLEWdV3X14VQJhRVViLezOhnaWAUey6CqwK2RUwqo15r3ggGQQIlYYTbqQgEypEldEVGFI5pgLN/AnP+/aPer9eshPHESNOlDLwM0VtOut7sDSNlNiOPQBoqqsyev6DRxrWch6b9yEDe7O+3aD/wB29PDJPm9oircJkq7kVA91ny/Iq51Gq2bfvFBtLp/CFEmGoHKmF9xJJuJAPCnOx/IkpqWNtzJue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Zc4In2NXfWNdU1trfNiAbJcBk0VQxyZ8oMlQatoqR8m4j3FAJqw7XvqMWvuwSvOw6MH4Mr4ELZ7CH0ADr7E4chfWAfVXn+Oub+P/N/wY2uFWeuwdWQmzoz/sfkHzN/Q+Ap6C95VWxnGpnchJK8/r8UxXqy/5e5XT/lunOR95lvcDPk/mI18XXLV++l9vAeXJCGX7+fueZD9L2vcBN89pPX0IOBh6JIDgSUhl+kbdunHUTcorB4eBz6pxVxnTYTjPEFOAdJbqw1tFU0u/J5CLyasp9+oBJ4r/dH1/M+MO7Tj1qlVK5zv7FvCbTf1LogWYHbcHZ2grKo2FMqaqsUPFDi768neiQSQICgp0B4FKRsZnHl1F67BCcpoI4f+ch/9789NQ/od0hqmz2G7qe3upab4GXIkdwqetHu9aK65ffegLVviu2LbzRMcs486dJdA0GAJEf6rXBFPivqexqZ/DcAAPjL70dAtqLF/wh5CbkQjGQkQSH4/BceDNTvMwBEOIlNfQOQASKyAfBSDawjAPZ5DARxycJ5lPcm8M7bRFcIPM02Uz0QZTdwizULbLBUJrYFqhvg6dpuDNilGtCm9YAmBlSrtUgwKfUo8DTS/a9DRhuRn62OQhJ0NKWMhN3IBYo5JFTcHDIxISx6QDgyFZmh0Ync5pAwteaQxRlGIroA1/9+RVj3be6goqSxovT/oiJjqamoa8aP0iTmWib29/HbiBV6y24LEpk0alanLHtWk3rlKhQRUyjRqEIpuRJlWlSzYxJdA3WCmBmaoN2KQiXmz4efaQo9eVc6DpJwEhsAeAnlxp2TQMFcBAjhye84nS9Xzjx48xEmXIRIUaIFOQDIAAAA) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* font:end */

:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  color: #fff;
  background: #352a87;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  background: #352a87;
}

main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 8svh, 80px) 24px;
}

.brand {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 3svh, 32px);
}

.hand-slot {
  width: clamp(180px, min(76vw, 42svh), 520px);
  aspect-ratio: 1.4;
  pointer-events: none;
}

.brand .site-title { line-height: 1.35; }

.site-title {
  position: relative;
  margin: 0;
  color: #000;
  font-family: 'Cartographic Serif', Georgia, serif;
  font-size: clamp(18px, min(calc((100vw - 48px) / 10.8), 13svh), 112px);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .52em;
  font-kerning: none;
  text-transform: uppercase;
  text-align: center;

}

.site-title span { display: block; padding-left: .52em; }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#heat {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

#ink,
#ink-major {
  fill: none;
  stroke: #888888;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: .4;
}

#ink-major { stroke-opacity: .75; }

.site-menu {
  position: fixed;
  z-index: 1;
  top: calc(env(safe-area-inset-top, 0px) + clamp(16px, 3vw, 32px));
  right: calc(env(safe-area-inset-right, 0px) + clamp(16px, 3vw, 32px));
}

summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #171719e8;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary:hover { background: #343039; }

.menu-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.menu-icon path { transform-origin: center; }
[open] .top { transform: translateY(6px) rotate(45deg); transform-origin: 12px 6px; }
[open] .middle { opacity: 0; }
[open] .bottom { transform: translateY(-6px) rotate(-45deg); transform-origin: 12px 18px; }

nav {
  display: grid;
  gap: 4px;
  width: 208px;
  max-width: calc(100vw - 32px);
  margin-top: 12px;
  padding: 8px;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #171719f5;
}

nav a {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

nav a:hover { background: #ffffff18; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Phone titles use more of the viewport for letterforms rather than tracking. */
@media (max-width: 600px) {
  main { padding-inline: 16px; }

  .site-title {
    font-size: clamp(40px, calc((100vw - 32px) / 6.4), 88px);
    line-height: 1.3;
    letter-spacing: .08em;
  }

  .site-title span { padding-left: .08em; }
}


/* Copy extends the established full-bleed terrain; the opening is unchanged. */
.home-main { display: block; place-items: normal; padding: 0; }
.opening { position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(24px, 8svh, 80px) 24px; }
.homepage #heat { z-index: -2; }
.homepage #field { z-index: -1; }
.homepage { isolation: isolate; }
.homepage .brand { position: relative; }
.homepage .site-menu { z-index: 5; }
.read-on { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 28px; text-decoration: none; padding: 10px 20px; text-shadow: 0 1px 12px #000; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; background: #171719; color: #fff; }
.skip-link:focus { top: 16px; }
.home-copy { position: relative; padding: 10svh max(24px, calc((100% - 1000px) / 2)) 14svh; background: linear-gradient(180deg, #090b2000, #090b20bc 180px, #090b20bc); }
.copy-section { padding: clamp(64px, 12svh, 150px) 0; scroll-margin-top: 32px; }
.copy-section h2 { max-width: 1000px; margin: 0 0 40px; font-size: clamp(42px, 6.8vw, 96px); font-weight: 650; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.copy-section p { max-width: 640px; margin: 0 0 24px; font-size: clamp(18px, 1.65vw, 23px); line-height: 1.55; letter-spacing: -.015em; text-wrap: pretty; }
.copy-section .statement { font-weight: 600; }
.introduction { padding-top: 100px; }
.introduction h2 { font-size: clamp(46px, 7.4vw, 106px); }
.copy-link { display: inline-flex; gap: 32px; align-items: center; padding: 12px 0; margin-top: 12px; border: 0; border-bottom: 1px solid #ffffff80; border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 18px; font-weight: 600; text-decoration: none; text-align: left; }
.copy-link span { font-size: 24px; }
a.copy-link:hover { border-color: #fff; }
.contact { padding-bottom: 40px; }
@media (max-width: 600px) {
  .opening { padding-inline: 16px; }
  .home-copy { padding-inline: 24px; }
  .copy-section { padding-block: 64px; }
  .copy-section h2 { margin-bottom: 28px; }
  .copy-section p { font-size: 18px; }
  .introduction { padding-top: 80px; }
}


/* About uses the same terrain and restrained white typography. */
.about-page { isolation: isolate; }
.about-page #heat { z-index: -2; }
.about-page #field { z-index: -1; }
.about-main { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 150px max(24px, calc((100% - 1000px) / 2)) 100px; background: #090b20bc; }
.about-home { position: absolute; top: 38px; left: max(24px, calc((100% - 1000px) / 2)); color: #fff; text-decoration: none; font-size: 14px; }
.about-home:hover { text-decoration: underline; text-underline-offset: 5px; }
.about-content { width: 100%; padding: 0; }
.about-content h1 { margin: 0 0 40px; font-size: clamp(48px, 7.4vw, 106px); font-weight: 650; line-height: 1.02; letter-spacing: -.055em; }
.about-content .contact-status { font-size: 13px; margin-top: 16px; opacity: .8; }
#contact-access { margin-top: 40px; }
#contact-access .copy-link { overflow-wrap: anywhere; max-width: 100%; }
#reveal-email { cursor: pointer; }
#reveal-email:disabled { cursor: wait; }
@media (max-width: 600px) { .about-main { padding-top: 150px; justify-content: flex-start; } .about-home { top: 28px; } }

#contact-challenge { margin-top: 24px; max-width: 100%; }

/* Trading record: headline returns and the cumulative-profit chart. Series colors pass the dataviz palette checks on the dark wash. */
.record-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 48px; max-width: 900px; margin: 16px 0 32px; padding: 0; list-style: none; }
.record-stats li { display: grid; align-content: start; gap: 4px; font-size: 17px; line-height: 1.45; color: #ffffffcc; }
.record-stats li span:first-of-type { font-size: clamp(18px, 1.65vw, 22px); font-weight: 600; color: #fff; }
.record-stats strong { font-size: clamp(48px, 5.4vw, 76px); font-weight: 650; line-height: 1; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.key { display: inline-block; width: 18px; height: 3px; margin-right: 10px; border-radius: 2px; vertical-align: middle; }
.record-stats .key { width: 32px; margin: 0 0 12px; }
.key-supervised { background: #8f7cf7; }
.key-autonomous { background: #20a8a3; }
.copy-section .record-note, .chart-note { max-width: 640px; font-size: 14px; line-height: 1.55; color: #ffffffb3; }
.record-chart { max-width: 1000px; margin: 56px 0 0; }
.chart-title { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; color: #ffffffcc; }
.plot-wrap { padding: 0 0 34px 52px; }
.plot { position: relative; aspect-ratio: 2 / 1; touch-action: pan-y; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .grid { stroke: #ffffff1f; stroke-width: 1; }
.plot .grid.zero { stroke: #ffffff66; }
.plot path { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.line-supervised { stroke: #8f7cf7; }
.line-autonomous { stroke: #20a8a3; }
.tick-y, .tick-x { position: absolute; font-size: 13px; color: #ffffff99; font-variant-numeric: tabular-nums; pointer-events: none; }
.tick-y { left: -52px; width: 42px; text-align: right; transform: translateY(-50%); }
.tick-x { top: calc(100% + 12px); }
.end { position: absolute; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px #14162b; pointer-events: none; }
.end-supervised { background: #8f7cf7; }
.end-autonomous { background: #20a8a3; }
.end-label { position: absolute; display: grid; font-size: 13px; line-height: 1.3; color: #ffffffcc; white-space: nowrap; pointer-events: none; }
.end-label b { font-size: 17px; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
.end-label.right { transform: translate(14px, -50%); }
.end-label.above { text-align: right; transform: translate(calc(-100% + 6px), calc(-100% - 12px)); }
.crosshair { position: absolute; top: 0; bottom: 0; width: 1px; background: #ffffff66; pointer-events: none; }
.chart-tip { position: absolute; top: 0; z-index: 1; display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #ffffff26; border-radius: 6px; background: #0b0d1ff2; font-size: 13px; line-height: 1.4; white-space: nowrap; transform: translateX(12px); pointer-events: none; }
.chart-tip.flip { transform: translateX(calc(-100% - 12px)); }
.chart-tip[hidden], .crosshair[hidden] { display: none; }
.chart-tip .key { width: 12px; margin-right: 8px; }
.chart-note { margin: 16px 0 0; }
.record-data { margin-top: 20px; font-size: 14px; color: #ffffffb3; }
.record-data summary { display: list-item; width: fit-content; height: auto; margin: 0; padding: 4px 0; border: 0; border-bottom: 1px solid #ffffff4d; border-radius: 0; background: none; cursor: pointer; list-style: revert; }
.record-data summary:hover { background: none; border-color: #fff; }
.record-data table { margin-top: 12px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.record-data th, .record-data td { padding: 5px 20px 5px 0; border-bottom: 1px solid #ffffff1a; text-align: left; }
@media (max-width: 600px) {
  .plot { aspect-ratio: 4 / 3; }
  .plot-wrap { padding-left: 44px; }
  .tick-y { left: -44px; width: 36px; }
  .record-data { overflow-x: auto; }
}
