/* =============================================================================
   /pages/axion_crypto — 0Bit Institutional, the organisation-facing deep-dive.

   Loaded after /styles/styles.css and /styles/axion_crypto.css.

   The site's existing sections were built entirely out of <p> tags. This page
   uses real headings instead, so every heading below is restated with the
   values the equivalent <p> computed to on the existing pages — the same
   pattern already used for the homepage brand line in /styles/styles.css and
   for /pages/0bit. Nothing here renders as a browser-default heading.

   This file is self-contained: it depends on nothing outside /styles/styles.css
   and /styles/axion_crypto.css, both of which this page already loaded.
   ============================================================================= */


/* -----------------------------------------------------------------------------
   Hero <h1> — mirrors #work-menu > div.title > div.text-col > p, which
   /styles/axion_crypto.css sets to 2rem. The h1 carries more words than the
   single word that sat here before, so it is given its own measure and a
   size that keeps it beside the brand letters rather than under them.
   ----------------------------------------------------------------------------- */
#work-menu > div.title > div.text-col > h1 {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-transform: none;
  color: rgb(255, 255, 255);
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 0;
  width: auto;
  max-width: 21ch;
  margin: 0 0 15px 20px;
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 812px) {
  #work-menu > div.title > div.text-col > h1 {
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: -0.2px;
    max-width: 17ch;
    opacity: 0.9;
    margin: 10px 0 0 15px;
  }
}


/* -----------------------------------------------------------------------------
   Black feature blocks — mirrors .founded p:nth-child(2) in /styles/styles.css,
   including its 800px and 1500px breakpoints.
   ----------------------------------------------------------------------------- */
body > div.abt-sections.oi > div.founded > h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: normal;
  margin: 0 0 2rem;
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
}

body > div.abt-sections.oi > div.founded a {
  color: #00e7b1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body > div.abt-sections.oi > div.founded a:hover {
  opacity: 0.7;
}

@media only screen and (min-device-width: 800px) {
  body > div.abt-sections.oi > div.founded > h2 {
    grid-area: 1 / 2 / 2 / 4;
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }
}

@media only screen and (min-device-width: 1500px) {
  body > div.abt-sections.oi > div.founded > h2 {
    font-size: 3vw;
    width: 90%;
  }
}


/* -----------------------------------------------------------------------------
   .oi-band — this page's own three-column band. Built to sit in the same
   visual family as .founded (black, teal glow) and the site's white sections,
   so the deep-dive reads as part of the same set without borrowing another
   page's stylesheet.
   ----------------------------------------------------------------------------- */
.oi-band {
  position: relative;
  margin: 0 1rem 4rem;
  padding: 2rem 1.5rem 2.5rem;
  background-color: #000000;
  color: white;
  box-shadow: 0 0 2rem #00e7b129;
}

.oi-band.light {
  background-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 2rem #00000021;
}

.oi-band > p.oi-eyebrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.8rem;
  font-weight: lighter;
  opacity: 0.9;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.oi-band > p.oi-eyebrow svg {
  fill: white;
  margin-right: 0.5rem;
}

.oi-band.light > p.oi-eyebrow svg {
  fill: black;
}

.oi-band > h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: normal;
  margin: 0 0 1.5rem;
  color: inherit;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.oi-band > p.oi-lead {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 300;
  margin: 0 0 2.5rem;
  padding-left: 0.4rem;
  border-left: dotted white 1px;
  max-width: 900px;
}

.oi-band.light > p.oi-lead {
  border-left: dotted black 1px;
}

.oi-cols {
  display: grid;
  grid-template-columns: 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 2.5rem;
}

.oi-cols > div {
  border-top: white dashed 1.5px;
  padding-top: 1.25rem;
}

.oi-band.light .oi-cols > div {
  border-top: black dashed 1.5px;
}

.oi-cols h3 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: inherit;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.oi-cols p {
  font-size: 0.9rem;
  font-weight: lighter;
  line-height: 1.55;
  opacity: 0.6;
  margin: 0 0 1rem;
}

.oi-band.light .oi-cols p {
  font-weight: 400;
  opacity: 0.75;
}

.oi-band > p.oi-note {
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 3rem 0 0;
  max-width: 900px;
}

.oi-band > p.oi-note a {
  color: #00e7b1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.oi-band.light > p.oi-note a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.oi-band > p.oi-note a:hover {
  opacity: 0.7;
}

@media only screen and (min-device-width: 800px) {
  .oi-band {
    margin: 0 40px 5rem;
    padding: 3rem;
  }

  .oi-band > h2 {
    font-size: 2.4rem;
  }

  .oi-band > p.oi-lead {
    font-size: 1.1rem;
  }

  .oi-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-device-width: 1500px) {
  .oi-band > h2 {
    font-size: 2.8rem;
  }
}
