/* ==========================================================================
   Lazuli — hiring site
   Palette comes from the stone: black void, lapis-blue light, pyrite-gold sparks.
   ========================================================================== */

:root {
  --void: #020305;
  --bone: #e8ebf2;
  --mute: #98a1b4;
  --dim: #565e72;
  --lapis: #2f62ff;
  --lapis-hot: #a8c6ff;
  --gold: #e0b057;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(20px, 5vw, 80px);
  /* how lit the hero lettering is, 0..1; the scene script drives it from the laser */
  --glow: 1;
}

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

html {
  background: var(--void);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #1b2238 var(--void);
}
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--lapis); color: #fff; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- fixed layers ---------- */
.stage {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none;
}
#gl { z-index: 0; }
#fx { z-index: 2; }
main { position: relative; z-index: 1; }
/* no WebGL2: a still, lit backdrop instead of the scene */
.no-gl #gl, html:not(.js) #gl { display: none; }
.no-gl body, html:not(.js) body {
  background:
    radial-gradient(60vw 80vh at 50% 30%, rgba(47, 98, 255, .22), transparent 70%),
    var(--void);
  background-attachment: fixed;
}

.grain {
  position: fixed; z-index: 6; inset: -120px; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain .7s steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-70px, 40px, 0); }
  40% { transform: translate3d(50px, -80px, 0); }
  60% { transform: translate3d(-30px, -50px, 0); }
  80% { transform: translate3d(90px, 70px, 0); }
}

/* ---------- the timeline ---------- */
.rail {
  --rail: 0;
  position: fixed; z-index: 4; left: 50%; bottom: 36px; transform: translateX(-50%);
  width: min(76vw, 980px); height: 66px; pointer-events: none;
  opacity: 0; transition: opacity .7s ease;
}
.has-rail .rail { opacity: 1; }
/* a floor of shadow, so the timeline reads over whatever the room puts behind it */
.rail::before {
  content: ""; position: absolute; inset: -34px -90px -40px; z-index: -1;
  background: radial-gradient(closest-side, rgba(2, 3, 5, .9), rgba(2, 3, 5, .6) 55%, rgba(2, 3, 5, 0));
}
.rail__line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .14); }
.rail__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--rail) * 100%);
  background: linear-gradient(90deg, var(--lapis-hot), #e6eeff); box-shadow: 0 0 2px #fff, 0 0 14px var(--lapis), 0 0 30px rgba(47, 98, 255, .55);
  transition: width .9s cubic-bezier(.2, .7, .2, 1);
}
.rail__mark {
  position: absolute; top: 0; left: calc(var(--i) / 3 * 100%); transform: translateX(-50%);
  padding-top: 26px; white-space: nowrap; text-align: center;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font: 800 16px/1.2 var(--display); letter-spacing: .14em; color: var(--dim);
  transition: color .6s ease;
}
.rail__mark small { display: block; margin-top: 3px; font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.rail__mark::before {
  content: ""; position: absolute; top: 2px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: #141a2c; border: 1px solid rgba(255, 255, 255, .22);
  transition: background .6s ease, box-shadow .6s ease, border-color .6s ease;
}
.rail__mark.is-lit { color: #fff; text-shadow: 0 0 20px rgba(47, 98, 255, .6); }
.rail__mark.is-lit::before { background: var(--lapis-hot); border-color: #fff; box-shadow: 0 0 14px var(--lapis), 0 0 30px rgba(47, 98, 255, .6); }
.rail__mark--now.is-lit { color: var(--gold); text-shadow: 0 0 20px rgba(224, 176, 87, .5); }
.rail__mark--now.is-lit::before { background: var(--gold); border-color: #fff4d6; box-shadow: 0 0 14px var(--gold), 0 0 30px rgba(224, 176, 87, .5); }

/* ---------- top bar ---------- */
.bar {
  position: fixed; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad); pointer-events: none;
}
.bar a { pointer-events: auto; text-decoration: none; }
.bar__mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: 13px; letter-spacing: .34em; text-transform: uppercase;
  transition: opacity .8s ease;
}
.bar__logo { width: 17px; height: 26px; flex: none; }
.js .home .bar__mark { opacity: 0; }
.js .home.is-past-hero .bar__mark { opacity: .95; }
.bar__link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-left: auto; padding: 10px 15px;
  font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(2, 3, 5, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s;
}
.bar__link:hover { border-color: var(--lapis-hot); background: rgba(20, 34, 90, .55); }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* ==========================================================================
   Shots — a section's height is how long its shot lasts on the scroll;
   its copy is pinned to the screen and fades with the shot
   ========================================================================== */
.shot { position: relative; height: 200vh; }
.shot--hero { height: 220vh; }
.shot--eras { height: 480vh; }
.shot--short { height: 170vh; }
.shot--chem { height: 420vh; }
.shot--long { height: 260vh; }
.shot--cta { height: 100vh; }

.shot__pin { position: relative; height: 100vh; }
.js .shot__pin {
  position: fixed; inset: 0; height: auto; z-index: 1;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.js .shot.is-on .shot__pin { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
.js .shot.is-on .shot__pin a { pointer-events: auto; }
/* without the script every shot is simply a page of copy */
html:not(.js) .shot { height: auto; }

/* ---------- captions ---------- */
.cap { position: absolute; }
.cap--r { right: var(--pad); top: 50%; width: min(42vw, 580px); transform: translateY(-50%); }
.cap--r::before {
  content: ""; position: absolute; inset: -20% -24% -26% -30%; z-index: -1;
  background: radial-gradient(closest-side, rgba(2, 3, 5, .8), rgba(2, 3, 5, .5) 55%, rgba(2, 3, 5, 0));
}
.cap--t { left: var(--pad); right: var(--pad); top: 8vh; text-align: center; }
.cap--bl { left: var(--pad); bottom: 11vh; width: min(46vw, 640px); }
/* a soft shadow behind copy that sits in front of the fan of beams */
.cap--bl::before {
  content: ""; position: absolute; inset: -22% -30% -40% -40%; z-index: -1;
  background: radial-gradient(closest-side, rgba(2, 3, 5, .82), rgba(2, 3, 5, .55) 55%, rgba(2, 3, 5, 0));
}
.cap--c { left: 50%; top: 60%; width: min(88vw, 1080px); transform: translate(-50%, -50%); text-align: center; }
.cap--b { left: 50%; bottom: 13vh; width: min(90vw, 1100px); transform: translateX(-50%); text-align: center; }
.cap--b::before {
  content: ""; position: absolute; inset: -40% -20% -60%; z-index: -1;
  background: radial-gradient(closest-side, rgba(2, 3, 5, .8), rgba(2, 3, 5, 0));
}

.js .cap > *, .js [data-step] {
  opacity: 0; transform: translateY(22px); filter: blur(8px);
  transition: opacity .3s ease, transform .3s ease, filter .3s ease;
}
.js .is-on .cap > *, .js [data-step].is-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .9s ease;
}
.js .shot--seq [data-step].is-in:not(.is-last) {
  opacity: 0; transform: translateY(-26px); filter: blur(8px);
  transition: opacity .35s ease, transform .4s ease, filter .35s ease;
}
.js .is-on .cap > :nth-child(2) { transition-delay: .12s; }
.js .is-on .cap > :nth-child(3) { transition-delay: .26s; }
.js .is-on .cap > :nth-child(4) { transition-delay: .4s; }

.cap--era { width: min(44vw, 620px); }
.eras { position: relative; height: 60vh; }
.era { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.era__mod {
  margin: 0 0 14px;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: clamp(24px, 2.9vw, 44px); line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lapis-hot); text-shadow: 0 0 30px rgba(47, 98, 255, .6);
}
.era__year {
  margin: 0;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: clamp(76px, 9vw, 136px);
  line-height: .9; letter-spacing: .02em; color: #f4f7ff;
  text-shadow: -1.5px 0 0 rgba(120, 160, 255, .45), 1.5px 0 0 rgba(70, 140, 255, .55), 0 0 60px rgba(47, 98, 255, .6);
}
.js .is-in .era__year { animation: ignite 1.9s ease-out .1s both; }
.era__line {
  margin: 22px 0 0; max-width: 26ch;
  font-weight: 600; font-size: clamp(21px, 2.1vw, 32px); line-height: 1.15; letter-spacing: -.012em;
  color: var(--bone); text-wrap: balance;
}

.kicker {
  margin: 0 0 20px;
  font: 500 12px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.kicker b { margin-right: 1em; font-weight: 500; color: var(--bone); opacity: .5; }

.stat {
  position: relative; margin: 0;
  font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-weight: 800; font-size: clamp(84px, 14vw, 210px);
  line-height: .86; letter-spacing: -.005em; text-transform: uppercase;
  color: var(--bone);
  text-shadow: -1.5px 0 0 rgba(255, 70, 60, .28), 1.5px 0 0 rgba(70, 140, 255, .5), 0 0 44px rgba(47, 98, 255, .28);
}
.stat small { font-size: .42em; margin-left: .07em; letter-spacing: .01em; }
/* "THE NEXT LEAP." on two lines, and the whole column sized to the screen's height so it never meets the timeline */
.stat--words { font-size: min(clamp(64px, 9vw, 140px), 15vh); color: #f4f7ff; text-shadow: -1.5px 0 0 rgba(120, 160, 255, .5), 1.5px 0 0 rgba(70, 140, 255, .6), 0 0 60px rgba(47, 98, 255, .7); }
.js .is-on .stat { animation: ignite 1.9s ease-out .1s both; }
@keyframes ignite {
  0% { color: #fff; text-shadow: 0 0 0 rgba(207, 224, 255, 0), 0 0 0 rgba(80, 130, 255, 0), 0 0 0 rgba(47, 98, 255, 0); }
  32% { color: #fff; text-shadow: 0 0 16px #cfe0ff, 0 0 56px rgba(80, 130, 255, .95), 0 0 130px rgba(47, 98, 255, .75); }
}

.cap__h {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.3vw, 33px); line-height: 1.16;
  font-weight: 600; letter-spacing: -.012em; text-wrap: balance;
}
/* "One scan": each half of the sentence comes forward as the picture beside it does.
   --made runs 0..1 with how much of the slice the sheet of light has turned to colour. */
.shot[data-shot="leap"] { --made: 0; }
.cap__h--pair { margin-top: 20px; font-size: min(clamp(28px, 3.2vw, 48px), 5.4vh); line-height: 1.06; letter-spacing: -.02em; }
.say { transition: color .35s linear; }
.cap__h--pair .say { display: block; width: fit-content; }
.cap__h--pair { position: relative; }
.cap__h--pair .node { top: auto; bottom: .5em; }     /* level with "Its chemistry." */
.say--looks { color: rgba(232, 235, 242, calc(1 - .58 * var(--made))); }
.say--made {
  background: linear-gradient(90deg, #e8ac3e 0%, #ee7a44 22%, #d83c64 44%, #966aff 66%, #4a8cff 84%, #40c46a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: rgba(232, 235, 242, calc(1 - var(--made)));
}

.cap__big {
  position: relative; margin: 0;
  font-stretch: 88%; font-variation-settings: "wdth" 88;
  font-weight: 700; font-size: clamp(30px, 3.9vw, 60px);
  line-height: 1.04; letter-spacing: -.02em; text-wrap: balance;
}
/* a sentence told in two beats, the second arriving as the camera moves on */
.cap__big .beat { display: block; position: relative; }
/* the specimen shot: a little smaller and a shorter measure, so it sits in its corner with air round it */
.cap--late .cap__big { font-size: min(clamp(26px, 3.2vw, 50px), 6.4vh); max-width: 15ch; }
.cap__big .beat + .beat { margin-top: .5em; }
.cap__big .beat--low { color: var(--mute); }
.cap__big .beat--low em { color: var(--lapis-hot); }
.cap__big em, .thesis em, .cap__h em { font-style: normal; color: var(--lapis-hot); text-shadow: 0 0 34px rgba(47, 98, 255, .7); }
.cap__text {
  margin: 22px 0 0; max-width: 50ch;
  color: var(--mute); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; text-wrap: pretty;
}
.cap__text b { font-weight: 600; color: var(--bone); }
/* the one line that says what Lazuli is: larger, and white */
.cap__text--key { max-width: 30ch; margin-top: 22px; color: var(--bone); font-weight: 500; font-size: min(clamp(18px, 1.7vw, 26px), 3vh); line-height: 1.3; letter-spacing: -.01em; }
.cap__text--key b { font-weight: 800; color: #fff; text-shadow: 0 0 26px rgba(47, 98, 255, .7); }

/* the gold mark the laser is steered to */
.node {
  position: absolute; left: -38px; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: var(--gold); opacity: .35;
  transition: opacity .5s ease, box-shadow .5s ease, background .5s ease;
}
.node.is-hot {
  opacity: 1; background: #fff;
  box-shadow: 0 0 0 1px rgba(224, 176, 87, .5), 0 0 16px 4px rgba(168, 198, 255, .9), 0 0 40px 10px rgba(47, 98, 255, .5);
}

/* two prices, one above the other, each joined to the thing it buys */
.pair { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 2.6vh, 30px) clamp(16px, 1.8vw, 30px); margin: 0; }
.pair > div { display: contents; }
.pair dt {
  position: relative;
  font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-weight: 800; font-size: clamp(64px, 8.4vw, 132px); line-height: .88; text-transform: uppercase;
  text-shadow: -1.5px 0 0 rgba(255, 70, 60, .28), 1.5px 0 0 rgba(70, 140, 255, .5), 0 0 44px rgba(47, 98, 255, .28);
}
.pair dt small { font-size: .42em; margin-left: .07em; }
.pair dd { margin: 0; max-width: 17ch; color: var(--bone); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; font-weight: 500; }

/* the chemistry shot: the plates across the upper half, a fact under each */
.cap--chem { inset: 0; }
.cap--chem .cap__big { position: absolute; left: var(--pad); right: var(--pad); top: 8vh; text-align: center; font-size: clamp(30px, 4.2vw, 64px); }
.cap--chem .facts {
  position: absolute; left: 4vw; right: 4vw; top: 21vh;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px);
}
.cap--chem .facts li { max-width: none; padding-bottom: 26px; text-align: center; text-wrap: balance; font-size: clamp(15px, 1.35vw, 20px); }
.cap--chem .facts .node { left: 50%; top: auto; bottom: 0; margin: 0 0 -4.5px -4.5px; }

/* three facts, lit one at a time */
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.facts li {
  position: relative; padding-left: 0; max-width: 30ch;
  font-size: clamp(18px, 1.7vw, 25px); line-height: 1.25; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty;
  color: var(--mute);
}
.facts li.is-in { color: var(--bone); }
.facts b { font-weight: 800; font-size: 1.2em; color: #fff; text-shadow: 0 0 26px rgba(47, 98, 255, .8); }
.facts .node { top: .7em; }

.thesis {
  margin: 0;
  font-stretch: 88%; font-variation-settings: "wdth" 88;
  font-weight: 700; font-size: clamp(30px, 4.7vw, 76px);
  line-height: 1.03; letter-spacing: -.022em; text-wrap: balance;
}
.thesis__turn {
  display: block; margin: .62em auto 0; max-width: 30ch;
  font-stretch: 100%; font-variation-settings: "wdth" 100;
  font-weight: 500; font-size: .42em; line-height: 1.25; letter-spacing: -.01em;
  color: var(--bone); text-wrap: balance;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.title {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  display: grid; grid-template-columns: 1fr min(38vh, 30vw) 1fr; align-items: center;
  margin: 0;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: min(10.5vw, 21vh, 210px);
  line-height: .9; letter-spacing: .06em; text-transform: uppercase;
  opacity: calc(.05 + .95 * var(--glow));
}
/* each half is lit from the stone's side */
.title__l, .title__r { color: transparent; -webkit-background-clip: text; background-clip: text; }
.title__l {
  grid-column: 1; justify-self: end; margin-right: -.06em;
  background-image: linear-gradient(to left, #fff 0%, #cbdaff 34%, #6283e6 100%);
}
.title__r {
  grid-column: 3; justify-self: start;
  background-image: linear-gradient(to right, #fff 0%, #cbdaff 34%, #6283e6 100%);
}
/* the flat logo stands in for the stone only when the 3D scene cannot run */
.title__mark { grid-column: 2; justify-self: center; width: min(22vh, 17vw); height: min(33vh, 26vw); display: none; }
.no-gl .title__mark, html:not(.js) .title__mark { display: block; }

.hero__line {
  position: absolute; left: 50%; bottom: 17vh; transform: translateX(-50%);
  width: max-content; max-width: min(90vw, 900px); margin: 0;
  text-align: center; text-wrap: balance;
  font-weight: 600; font-size: clamp(22px, 2.9vw, 44px); line-height: 1.1; letter-spacing: -.012em;
}
.js .hero__line { opacity: 0; filter: blur(10px); transition: opacity .25s ease, filter .25s ease; }
.js .is-fired .hero__line {
  opacity: 1; filter: none;
  transition: opacity .9s ease .35s, filter .9s ease .35s;
  animation: ignite 1.9s ease-out .35s both;
}

.cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 12px;
  font: 500 11px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase;
  color: var(--mute); white-space: nowrap;
}
html:not(.js) .cue { display: none; }
.cue__text { grid-area: 1 / 1; transition: opacity .4s ease; }
.cue__text--b { opacity: 0; color: var(--lapis-hot); }
.is-fired .cue__text--a { opacity: 0; }
.is-fired .cue__text--b { opacity: 1; }
.cue__bar { width: 132px; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cue__fill {
  display: block; height: 100%;
  background: var(--lapis-hot); box-shadow: 0 0 8px var(--lapis);
  transform: scaleX(0); transform-origin: left;
}

/* ==========================================================================
   The button — the last place the laser lands
   ========================================================================== */
.cap--cta { left: 0; right: 0; bottom: 12vh; display: flex; flex-direction: column; align-items: center; padding: 0 var(--pad); }
.split {
  align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; margin: 0;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  font-weight: 800; font-size: clamp(34px, 6.6vw, 112px);
  line-height: .95; letter-spacing: .05em; text-transform: uppercase;
}
.split__l { justify-self: end; padding-right: .39em; margin-right: -.05em; }
.split__r { justify-self: start; padding-left: .36em; }

.fire-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: clamp(30px, 5.5vh, 60px); padding: 26px 44px;
  font: 800 15px/1 var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone); text-decoration: none;
  border: 1px solid rgba(168, 198, 255, .3);
  background: rgba(8, 12, 26, .78);
  transition: color .4s, border-color .4s, background .4s, box-shadow .6s;
}
.fire-btn[hidden] { display: none; }
.fire-btn svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fire-btn:hover svg, .fire-btn:focus-visible svg { transform: translateX(6px); }
.fire-btn:hover, .fire-btn:focus-visible, .fire-btn.is-hot {
  color: #fff; border-color: rgba(196, 218, 255, .95);
  background: linear-gradient(180deg, rgba(64, 108, 255, .55), rgba(16, 32, 112, .55));
  box-shadow: 0 0 0 1px rgba(120, 160, 255, .35), 0 0 34px 4px rgba(47, 98, 255, .6),
    0 0 120px 20px rgba(47, 98, 255, .28), inset 0 0 26px rgba(120, 160, 255, .35);
}
.fire-btn.is-hot:hover { background: linear-gradient(180deg, rgba(96, 136, 255, .7), rgba(24, 46, 150, .65)); }

.cta__line {
  margin: clamp(26px, 4vh, 40px) 0 0;
  text-align: center;
  color: var(--mute); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.005em;
}
.cta__line span { display: block; }
.cta__line b { font-weight: 600; color: var(--bone); }
.foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 24px;
  display: flex; justify-content: space-between; gap: 8px 28px;
  font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--dim);
}
.foot a { text-decoration: none; }
.foot__credit { text-align: center; letter-spacing: .06em; text-transform: none; line-height: 1.5; }
.foot a:hover { color: var(--bone); }

/* ==========================================================================
   Company page
   ========================================================================== */
.company {
  --cb-x: clamp(28px, 9vw, 150px);
  --co-off: clamp(40px, 6vw, 96px);
}
/* keep the wordmark clear of the beam: it lines up with the copy instead */
.company .bar { padding-left: calc(var(--cb-x) + var(--co-off)); }
.co-beam {
  position: fixed; z-index: 0; top: 0; bottom: 0; left: var(--cb-x);
  width: 2px; margin-left: -1px;
  background: linear-gradient(#e6eeff, #a8c6ff);
  box-shadow: 0 0 10px 2px rgba(47, 98, 255, .95), 0 0 46px 10px rgba(47, 98, 255, .42), 0 0 170px 46px rgba(47, 98, 255, .2);
}
.co {
  position: relative; z-index: 1;
  max-width: calc(var(--cb-x) + var(--co-off) + 860px);
  padding: clamp(130px, 22vh, 210px) var(--pad) 90px calc(var(--cb-x) + var(--co-off));
}
.co__h1 {
  margin: 0; max-width: 20ch;
  font-stretch: 88%; font-variation-settings: "wdth" 88;
  font-weight: 700; font-size: clamp(31px, 4.7vw, 70px);
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.co__h1 em { font-style: normal; color: var(--lapis-hot); text-shadow: 0 0 34px rgba(47, 98, 255, .7); }
.co__story {
  margin-top: 40px !important; max-width: 52ch !important;
  font-weight: 500; font-size: clamp(19px, 1.6vw, 24px) !important; line-height: 1.45 !important; color: var(--bone) !important;
}
.co__story b { font-weight: 700; color: #fff; }
.co p { max-width: 62ch; margin: 0; color: #b6bdcc; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.62; text-wrap: pretty; }
.co p + p { margin-top: 1em; }
.co p.kicker { margin: 0 0 18px; color: var(--gold); font: 500 12px/1.3 var(--mono); }
.co p.co__by { margin-top: 30px; color: var(--mute); font: 400 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.co__lead { margin-top: 40px !important; color: var(--bone) !important; }

.co__sec { position: relative; margin-top: clamp(96px, 16vh, 170px); }
/* burn mark on the beam, with a hairline to the heading */
.co__sec::before {
  content: ""; position: absolute; top: 2px; left: calc(-1 * var(--co-off));
  width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(224, 176, 87, .35), 0 0 14px 2px rgba(224, 176, 87, .55);
}
.co__sec::after {
  content: ""; position: absolute; top: 6px; left: calc(-1 * var(--co-off) + 12px);
  width: calc(var(--co-off) - 26px); height: 1px;
  background: linear-gradient(to right, rgba(168, 198, 255, .9), rgba(168, 198, 255, 0));
}
.co h2 {
  margin: 0 0 30px;
  font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-weight: 800; font-size: clamp(50px, 7vw, 104px);
  line-height: .88; text-transform: uppercase;
  text-shadow: -1.5px 0 0 rgba(255, 70, 60, .22), 1.5px 0 0 rgba(70, 140, 255, .45), 0 0 44px rgba(47, 98, 255, .25);
}
.co h3 { margin: 0 0 10px; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }

.co__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); }
.co__two > div { padding-top: 22px; border-top: 1px solid rgba(168, 198, 255, .2); }
.co__two p { font-size: clamp(16px, 1.15vw, 18px); }

.path { list-style: none; margin: 0; padding: 0; }
.path li {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0 28px;
  padding: 26px 0; border-top: 1px solid rgba(168, 198, 255, .2);
}
.path li:last-child { border-bottom: 1px solid rgba(168, 198, 255, .2); }
.path__when { padding-top: 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.path p { font-size: clamp(16px, 1.15vw, 18px); }

.co__name { font-stretch: 100%; font-size: clamp(24px, 2.5vw, 36px) !important; margin-bottom: 6px !important; }
.co__role { margin: 0 0 22px !important; font: 400 12px/1.4 var(--mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--mute) !important; }

.co__join .fire-btn { margin-top: 34px; }
.co__back {
  display: inline-block; margin-top: 30px;
  font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); text-decoration: none;
}
.co__back:hover { color: var(--bone); }
.co__foot {
  margin-top: 120px;
  font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}

/* ==========================================================================
   Tall and narrow screens — the stone takes the upper half, the copy the lower
   ========================================================================== */
@media (max-width: 819px), (max-aspect-ratio: 85/100) {
  .home .bar__mark { font-size: 0; gap: 0; }

  .cap--r, .cap--bl, .cap--c, .cap--b, .cap--t {
    left: 22px; right: 22px; top: auto; bottom: 7vh; width: auto;
    transform: none; text-align: left;
  }
  .cap--r { padding-left: 34px; }
  .node { left: -34px; }
  .cap--era { padding-left: 0; }
  .eras { height: 36vh; }
  .era__mod { font-size: clamp(20px, 6vw, 28px); margin-bottom: 10px; }
  .era__year { font-size: clamp(64px, 17vw, 96px); }
  .era__line { margin-top: 12px; font-size: clamp(19px, 5vw, 26px); }
  .cap__big { font-size: clamp(28px, 7.4vw, 46px); }
  .facts { margin-top: 16px; gap: 10px; }
  .facts li { font-size: clamp(16px, 4.4vw, 21px); }
  .cap--chem { inset: auto 22px 7vh; padding-left: 34px; }
  .cap--chem .cap__big { position: static; text-align: left; font-size: clamp(28px, 7.4vw, 46px); }
  .cap--chem .facts { position: static; max-width: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 0; }
  .cap--chem .facts li { padding-bottom: 0; text-align: left; max-width: 30ch; }
  .cap--chem .facts .node { left: -34px; top: .7em; bottom: auto; margin: -4.5px 0 0; }
  .rail { top: 70px; bottom: auto; width: min(86vw, 520px); }
  .rail::before { inset: -20px -30px -24px; }
  .rail__mark { font-size: 12px; letter-spacing: .1em; padding-top: 22px; }
  .rail__mark small { font-size: 8px; letter-spacing: .14em; }
  /* the picture runs on behind the copy here, so the copy gets a floor of shadow to stand on */
  .cap--r::before, .cap--c::before, .cap--bl::before, .cap--b::before, .cap--t::before {
    content: ""; position: absolute; z-index: -1; inset: -9vh -22px -7vh;
    background: linear-gradient(to top, rgba(2, 3, 5, .93) 0%, rgba(2, 3, 5, .86) 62%, rgba(2, 3, 5, 0) 100%);
  }
  .stat { font-size: clamp(84px, 25vw, 150px); }
  .stat--words { font-size: min(clamp(60px, 18vw, 110px), 11vh); }
  .cap__h { margin-top: 18px; }
  .cap__text { margin-top: 14px; }
  .pair dt { font-size: clamp(54px, 15vw, 92px); }
  .facts { margin-top: 22px; gap: 14px; }
  .thesis { font-size: clamp(28px, 8.2vw, 52px); }
  .thesis__turn { margin-left: 0; font-size: max(.56em, 17px); }
  .cap--c { bottom: 15vh; }

  .title {
    display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; top: auto; bottom: 30vh; transform: none;
    font-size: min(14vw, 11vh); letter-spacing: .08em;
  }
  .title__l, .title__r { margin: 0; background-image: linear-gradient(to bottom, #fff 0%, #cbdaff 50%, #7c98ea 100%); }
  .title__mark { order: -1; flex: 0 0 100%; margin: 0 auto 4vh; }
  .no-gl .title, html:not(.js) .title { bottom: 26vh; }
  .hero__line { bottom: 15vh; font-size: clamp(20px, 5.8vw, 32px); }

  .cap--cta { bottom: 13vh; }
  .split { font-size: clamp(30px, 9.4vw, 60px); letter-spacing: .03em; }
  .fire-btn { align-self: stretch; padding: 24px 20px; }
  .foot { left: 20px; right: 20px; bottom: 16px; flex-wrap: wrap; }
  .foot__credit { order: 3; flex: 0 0 100%; font-size: 10px; letter-spacing: .02em; }

  .company { --cb-x: 22px; --co-off: 30px; }
  .co { padding-right: 20px; }
  .co__two { grid-template-columns: 1fr; }
  .path li { grid-template-columns: 1fr; gap: 10px; }
  .co__join .fire-btn { align-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .dot { animation: none; }
  .js .is-on .stat, .js .is-fired .hero__line, .js .is-in .era__year { animation: none; }
  .rail__fill { transition: none; }
  .js .cap > *, .js [data-step], .js .is-on .cap > *, .js [data-step].is-in { transform: none; filter: none; transition: opacity .4s ease; }
  #gl { transition: opacity .3s ease; }
}
