:root {
  --paper: #f4f4ee;
  --bright: #fcfcf8;
  --ink: #10130f;
  --forest: #103d31;
  --deep: #082a22;
  --mineral: #c8cec4;
  --acid: #c9ff25;
  --muted: #62695f;
  --line: rgba(16, 19, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

h1 {
  max-width: 8.5ch;
  margin: 0;
  font-size: clamp(3.8rem, 7.3vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h4 {
  font-size: 1.45rem;
}

h5 {
  font-size: 1rem;
  text-transform: uppercase;
}

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.w3-top {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
}

.w3-bar {
  width: 100%;
  overflow: hidden;
}

.w3-bar .w3-bar-item {
  float: left;
  width: auto;
  padding: 14px 20px;
  border: none;
  outline: 0;
}

.w3-bar::before,
.w3-bar::after,
.w3-row::before,
.w3-row::after {
  display: table;
  clear: both;
  content: "";
}

.w3-button {
  display: inline-block;
  overflow: hidden;
  padding: 10px 18px;
  border: none;
  background: inherit;
  color: inherit;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.w3-button:hover,
.w3-button:focus-visible {
  background: var(--ink);
  color: var(--bright);
}

.w3-white {
  background: rgba(252, 252, 248, 0.96);
  color: var(--ink);
}

.w3-padding {
  padding: 8px 18px;
}

.w3-padding-large {
  padding: clamp(24px, 4vw, 52px);
}

.w3-padding-32 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.w3-padding-64 {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.w3-card {
  box-shadow: 0 2px 8px rgba(8, 42, 34, 0.12);
}

.w3-wide {
  letter-spacing: 0.08em;
}

.w3-right {
  float: right !important;
}

.w3-center {
  text-align: center !important;
}

.w3-content {
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

.w3-display-container {
  position: relative;
}

.w3-display-bottomleft {
  position: absolute;
  bottom: 0;
  left: 0;
}

.w3-half,
.w3-col {
  float: left;
  width: 100%;
}

.w3-container {
  padding-right: clamp(24px, 4vw, 52px);
  padding-left: clamp(24px, 4vw, 52px);
}

.w3-large {
  font-size: 1.12rem;
}

.w3-text-grey {
  color: var(--muted);
}

.brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  min-height: min(900px, 100vh);
  padding-top: 66px;
  overflow: hidden;
  background: var(--forest);
  color: var(--bright);
}

.hero::after {
  position: absolute;
  inset: 66px 0 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent calc(100% - 1px), rgba(255, 255, 255, 0.09) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), rgba(255, 255, 255, 0.07) 1px);
  background-size: 12.5% 100%, 100% 120px;
  content: "";
}

.hero-copy,
.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(90px, 10vw, 160px) 5vw 130px;
}

.kicker,
.section-label,
.card-index,
.layer-number {
  margin: 0 0 22px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  color: var(--acid);
}

.hero-lede {
  max-width: 38rem;
  margin: 30px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: 0;
}

.cta {
  display: inline-flex;
  width: fit-content;
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  padding: 15px 18px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--acid);
  transform: translateY(-3px);
}

.hero-image-wrap {
  display: grid;
  place-items: center;
  padding: 100px 5vw 95px 0;
}

.hero-image-wrap img {
  width: min(100%, 700px);
  filter: drop-shadow(0 35px 38px rgba(0, 0, 0, 0.26));
}

.hero-caption {
  z-index: 3;
  padding: 22px 5vw;
  color: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.main-content {
  max-width: 1180px;
  padding: 0 24px;
}

.section-label {
  color: var(--forest);
}

.prose h2 {
  max-width: 11ch;
  margin-right: auto;
  margin-left: auto;
}

.prose > p:not(.section-label) {
  max-width: 39rem;
  margin: 26px auto 0;
}

.system-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 580px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(201, 255, 37, 0.35);
  background: var(--forest);
  color: var(--bright);
  box-shadow: 20px 20px 0 var(--mineral);
}

.system-card::before,
.system-card::after {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(201, 255, 37, 0.22);
  border-radius: 50%;
  content: "";
}

.system-card::before {
  top: -85px;
  right: -85px;
}

.system-card::after {
  right: -135px;
  bottom: -110px;
}

.card-index {
  margin: 0;
  color: var(--acid);
}

.system-card-header,
.wisp-code,
.system-card-caption {
  position: relative;
  z-index: 1;
}

.system-card-header,
.system-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-language {
  margin: 0;
  color: rgba(252, 252, 248, 0.62);
  white-space: nowrap;
}

.wisp-code {
  display: flex;
  flex: 1;
  align-items: center;
  margin: 42px 0;
  padding: 38px 24px;
  overflow-x: auto;
  border-top: 1px solid rgba(201, 255, 37, 0.42);
  border-bottom: 1px solid rgba(201, 255, 37, 0.42);
  background: rgba(8, 42, 34, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.76rem, 1.15vw, 0.94rem);
  line-height: 2.05;
  tab-size: 2;
}

.wisp-code code {
  min-width: max-content;
}

.wisp-form,
.wisp-punctuation {
  color: var(--acid);
}

.wisp-form {
  font-weight: 700;
}

.wisp-keyword {
  color: var(--bright);
}

.wisp-string {
  color: #b7d9cf;
}

.wisp-symbol {
  color: var(--mineral);
}

.system-card-caption {
  margin: 0;
  color: rgba(252, 252, 248, 0.72);
}

.system-card-caption span:last-child {
  color: var(--acid);
  text-align: right;
}

.layer-section {
  margin-top: 42px;
}

.layer-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.layer-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.layer-list h4,
.layer-list p {
  margin-top: 0;
  margin-bottom: 6px;
}

.layer-number {
  color: var(--forest);
}

.stack-figure {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--bright);
}

.stack-figure img {
  width: 100%;
  filter: drop-shadow(0 22px 24px rgba(8, 42, 34, 0.15));
}

.stack-figure figcaption {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--forest);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hpc-row {
  display: flex;
  align-items: center;
}

.hpc-row .prose h2,
.hpc-row .prose p {
  margin-right: 0;
  margin-left: 0;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.module-grid article {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.module-grid span,
.module-grid small {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-grid span {
  color: var(--forest);
}

.module-grid strong {
  margin: auto 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.promise {
  margin: 30px 0 0;
  padding: clamp(56px, 8vw, 100px);
  background: var(--deep);
  color: var(--bright);
}

.promise .section-label {
  color: var(--acid);
}

.promise h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 6rem);
}

.promise em {
  color: var(--acid);
  font-weight: 400;
}

.promise > p:last-child {
  margin: 38px 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  margin-right: auto;
  margin-left: auto;
}

.contact-address {
  margin: 34px 0;
  color: var(--forest);
}

.contact-button {
  border: 1px solid var(--ink);
  background: var(--acid);
  font-weight: 700;
}

.contact-button span {
  margin-left: 28px;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--forest);
  color: var(--bright);
}

footer p,
footer > a:last-child {
  font-size: 0.82rem;
}

footer > a:last-child {
  color: var(--acid);
}

@media (min-width: 601px) {
  .w3-half,
  .w3-col.m6 {
    width: 49.99999%;
  }
}

@media (min-width: 993px) {
  .w3-col.l6 {
    width: 49.99999%;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-image-wrap {
    padding: 0 8vw 80px;
  }

  .hpc-row {
    display: block;
  }
}

@media (max-width: 600px) {
  .w3-hide-small {
    display: none !important;
  }

  .w3-bar .w3-bar-item {
    padding: 12px 16px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero::after {
    inset: 58px 0 0;
    background-size: 25% 100%, 100% 90px;
  }

  .hero-copy {
    padding: 78px 24px 26px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.25rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-image-wrap {
    padding: 0 14px 58px;
  }

  .main-content {
    padding: 0 16px;
  }

  .w3-padding-large {
    padding-right: 8px;
    padding-left: 8px;
  }

  .w3-padding-64 {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .system-card {
    min-height: 500px;
    box-shadow: 10px 10px 0 var(--mineral);
  }

  .layer-section {
    margin-top: 20px;
  }

  .stack-figure {
    padding: 16px;
  }

  .module-grid article {
    min-height: 145px;
    padding: 16px;
  }

  .promise {
    padding: 56px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
