.nav {
  position: sticky;
  top: 0;
  background: transparent;
  overflow: visible;
  isolation: isolate;
  z-index: 50;
}

.nav::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #050505e8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}

.nav-group > div { z-index: 70; }

.brand-mark {
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border-color: var(--acid);
  background: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: invert(1);
}

.home-hero { min-height: 860px; }

.hero-mascot {
  position: absolute;
  right: 0;
  top: 100px;
  width: 160px;
  margin: 0;
  background: #f5f5f2;
  border: 7px solid var(--acid);
  box-shadow: 12px 12px 0 #171914;
  transform: rotate(2deg);
  z-index: 4;
}

.hero-mascot img { display: block; width: 100%; }
.hero-mascot figcaption {
  background: var(--acid);
  color: #080808;
  padding: 7px 9px;
  font: 600 8px DM Mono, monospace;
  letter-spacing: .07em;
}

.console { top: 315px; }

.portfolio-console {
  z-index: 2;
  pointer-events: none;
}

.hero-bottom {
  position: relative;
  z-index: 5;
  width: calc(100% - 410px);
  align-items: flex-start;
  flex-direction: column;
  gap: 28px;
}

.portfolio-console pre {
  font-size: 12px;
  line-height: 2.3;
}

.portfolio-console pre b { font-size: 14px; }

.home-products { padding-bottom: 160px; }

.home-products > header,
.boomer-flow > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.product-duo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-tile {
  min-height: 570px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  background: var(--black);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.product-tile::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -125px;
  top: -125px;
  border: 1px solid #4e5148;
  transform: rotate(45deg);
  transition: .3s ease;
}

.product-tile:hover::after { right: -95px; top: -95px; border-color: var(--acid); }
.product-tile > span { color: var(--acid); font: 500 9px DM Mono, monospace; letter-spacing: .1em; }
.product-tile > strong { margin-top: 95px; font-size: clamp(58px, 7vw, 90px); line-height: .72; letter-spacing: -.08em; }
.product-boomer > strong { font-size: clamp(50px, 6vw, 76px); }
.product-ghost > strong { color: transparent; -webkit-text-stroke: 1.5px var(--acid); }
.product-tile h2 { margin: 45px 0 18px; font-size: 29px; letter-spacing: -.04em; }
.product-tile p { color: #95988e; max-width: 480px; line-height: 1.7; }
.product-tile > small { margin-top: auto; padding-top: 45px; color: #c2c5bc; font: 500 9px DM Mono, monospace; letter-spacing: .08em; }

.product-manifesto {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 80px;
  border-block: 1px solid var(--line);
}

.product-manifesto span { color: var(--acid); font: 500 9px DM Mono, monospace; }
.product-manifesto p { max-width: 700px; margin: 0; font-size: 21px; line-height: 1.5; }
.product-index { margin-bottom: 150px; }
.product-tile dl { margin: 40px 0 0; }
.product-tile dl div { display: grid; grid-template-columns: 125px 1fr; border-top: 1px solid var(--line); padding: 13px 0; }
.product-tile dt { color: #666960; font: 500 8px DM Mono, monospace; }
.product-tile dd { margin: 0; color: #c6c9bf; font: 500 10px DM Mono, monospace; text-transform: uppercase; }

.yes-enterprise {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 80px;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.yes-enterprise > span { color: var(--acid); font: 600 9px DM Mono, monospace; letter-spacing: .1em; }
.yes-enterprise h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: .95; letter-spacing: -.05em; }
.yes-enterprise p { grid-column: 2; max-width: 600px; color: #989b91; line-height: 1.7; }

.decision-consoles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-bottom: 150px;
  background: var(--line);
}
.decision-consoles .product-console { min-width: 0; margin: 0; background: #090a08; }
.decision-consoles .terminal-lines { padding: 0 28px; }
.decision-consoles .terminal-lines p { grid-template-columns: 125px minmax(0, 1fr); }
.decision-consoles .terminal-lines code { overflow-wrap: anywhere; }
.no-console .terminal-head i { background: var(--paper); box-shadow: 0 0 10px var(--paper); }
.no-console .terminal-lines .response code { color: var(--paper); }

.yes-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 150px;
  background: var(--line);
}
.yes-tiers article { min-height: 440px; padding: 40px; background: var(--black); }
.yes-tiers article:last-child { background: var(--acid); color: var(--black); }
.yes-tiers article > span { color: var(--acid); font: 600 9px DM Mono, monospace; }
.yes-tiers article:last-child > span { color: #40520a; }
.yes-tiers h2 { margin: 80px 0 20px; font-size: 34px; letter-spacing: -.04em; }
.yes-tiers p { color: #92958b; line-height: 1.7; }
.yes-tiers article:last-child p { color: #35400f; }
.yes-tiers ul { list-style: none; padding: 20px 0 0; }
.yes-tiers li { padding: 11px 0; border-top: 1px solid var(--line); color: #a4a79d; font-size: 12px; }
.yes-tiers article:last-child li { color: #202905; border-color: #8ead13; }

.boomer-acronym {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-bottom: 140px;
}

.boomer-acronym > div { min-width: 0; padding: 0 15px; border-right: 1px solid var(--line); }
.boomer-acronym > div:first-child { padding-left: 0; }
.boomer-acronym > div:last-child { border: 0; }
.boomer-acronym b { display: block; color: var(--acid); font-size: clamp(55px, 7vw, 88px); line-height: 1; letter-spacing: -.08em; }
.boomer-acronym span { display: block; overflow-wrap: anywhere; margin-top: 15px; color: #8c8f85; font: 500 8px DM Mono, monospace; }

.boomer-flow { padding-bottom: 150px; }
.boomer-flow > header p { color: #898c83; margin: 0; font-size: 13px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.flow-grid article { min-width: 0; min-height: 430px; background: var(--black); padding: 32px; }
.flow-grid article > span,
.boomer-capabilities article > span { color: var(--acid); font: 500 9px DM Mono, monospace; }
.flow-grid h2 { margin: 70px 0 30px; font-size: 25px; letter-spacing: -.03em; }
.flow-grid pre { overflow: auto; padding: 20px; border: 1px solid var(--line); background: #090a08; }
.flow-grid code { color: #bfc3b7; font: 400 10px/1.8 DM Mono, monospace; }
.flow-grid ul { padding: 0; list-style: none; }
.flow-grid li { padding: 11px 0; border-top: 1px solid var(--line); color: #9b9e94; font-size: 12px; }

.boomer-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-bottom: 150px;
}

.boomer-capabilities article { min-height: 330px; padding: 35px; background: var(--black); }
.boomer-capabilities h2 { margin: 75px 0 18px; font-size: 27px; letter-spacing: -.03em; }
.boomer-capabilities p { color: #8f9288; font-size: 13px; line-height: 1.7; }

.ghost-definition {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-bottom: 140px;
}

.ghost-definition > div { padding: 0 18px; border-right: 1px solid var(--line); }
.ghost-definition > div:first-child { padding-left: 0; }
.ghost-definition > div:last-child { border: 0; }
.ghost-definition span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--acid); font-size: clamp(65px, 8vw, 105px); font-weight: 900; line-height: .8; }
.ghost-definition b { display: block; margin-top: 22px; color: #9a9d93; font: 500 8px DM Mono, monospace; overflow-wrap: anywhere; }

.ghost-status { border: 1px solid var(--line); background: #090a08; margin-bottom: 150px; }
.ghost-readiness { display: grid; grid-template-columns: 1fr 1fr; }
.ghost-readiness > div { padding: 45px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.ghost-readiness > div span { color: #73766d; font: 500 9px DM Mono, monospace; }
.ghost-readiness > div strong { color: var(--acid); font-size: clamp(70px, 9vw, 120px); line-height: .8; letter-spacing: -.08em; }
.ghost-readiness dl { margin: 0; padding: 30px 40px; }
.ghost-readiness dl div { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ghost-readiness dt { color: #6f7269; font: 500 8px DM Mono, monospace; }
.ghost-readiness dd { margin: 0; color: #c6c9bf; font: 500 10px DM Mono, monospace; }
.ghost-readiness dl div:last-child dd { color: var(--acid); }

.ghost-lifecycle { padding-bottom: 150px; }
.ghost-lifecycle > header { display: flex; align-items: end; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.ghost-lifecycle > header p { color: #898c83; margin: 0; font-size: 13px; }
.ghost-lifecycle .flow-grid p { color: #92958b; font-size: 13px; line-height: 1.7; }
.ghost-lifecycle .flow-grid b { display: block; margin-top: 35px; color: var(--acid); font: 500 8px DM Mono, monospace; }

.ghost-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-bottom: 150px;
}
.ghost-capabilities article { min-height: 330px; padding: 35px; background: var(--black); }
.ghost-capabilities article > span { color: var(--acid); font: 500 9px DM Mono, monospace; }
.ghost-capabilities h2 { margin: 75px 0 18px; font-size: 27px; letter-spacing: -.03em; }
.ghost-capabilities p { color: #8f9288; font-size: 13px; line-height: 1.7; }

.ghost-boundary { background: var(--acid); color: var(--black); padding: 100px 0; margin-bottom: 1px; }
.ghost-boundary h2 { margin: 65px 0 30px; font-size: clamp(55px, 8vw, 100px); line-height: .85; letter-spacing: -.07em; }
.ghost-boundary p { max-width: 680px; margin-left: 50%; font-size: 17px; line-height: 1.7; }
.footer-links small { color: var(--acid); font: 500 7px DM Mono, monospace; }

.cta-band h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.7px #090909; }

.article-quote {
  margin: 85px 0;
  padding: 35px 0 35px 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--acid);
}

.article-quote p {
  margin: 0 0 22px;
  color: var(--paper);
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.article-quote cite {
  color: var(--acid);
  font: 500 9px DM Mono, monospace;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-cta { margin-top: 45px; }

@media (max-width: 900px) {
  .nav-links { z-index: 60; }
  .home-hero { min-height: 0; padding-bottom: 50px; }
  .hero-mascot {
    width: 100px;
    right: 5px;
    top: 78px;
    border-width: 5px;
    box-shadow: 8px 8px 0 #171914;
  }
  .hero-mascot figcaption { font-size: 6px; padding: 5px; }
  .hero-bottom { width: 100%; }
  .portfolio-console {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 35px;
    opacity: 1;
    box-shadow: 0 20px 50px #000;
  }
  .product-duo,
  .product-manifesto,
  .flow-grid,
  .decision-consoles,
  .yes-tiers { grid-template-columns: 1fr; }
  .product-tile { min-height: 500px; }
  .product-tile > strong { font-size: clamp(78px, 20vw, 125px); }
  .product-boomer > strong { font-size: clamp(62px, 17vw, 105px); }
  .product-manifesto { gap: 25px; }
  .boomer-acronym { grid-template-columns: repeat(3, 1fr); gap: 38px 0; }
  .boomer-acronym > div:nth-child(3) { border: 0; }
  .boomer-capabilities { grid-template-columns: repeat(2, 1fr); }
  .ghost-definition { grid-template-columns: repeat(5, 1fr); }
  .ghost-definition > div { padding: 0 8px; }
  .ghost-definition span { font-size: 10vw; }
  .ghost-readiness { grid-template-columns: 1fr; }
  .ghost-readiness > div { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .ghost-capabilities { grid-template-columns: repeat(2, 1fr); }
  .yes-enterprise { grid-template-columns: 1fr; }
  .yes-enterprise p { grid-column: 1; }
}

@media (max-width: 540px) {
  .brand-mark { width: 30px; height: 30px; }
  .hero-mascot { width: 82px; top: 72px; }
  .hero-status span { display: none; }
  .home-hero h1 { font-size: 21vw; }
  .home-products > header,
  .boomer-flow > header,
  .ghost-lifecycle > header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .product-tile { min-height: 460px; padding: 28px; }
  .product-tile > strong { margin-top: 75px; }
  .boomer-capabilities { grid-template-columns: 1fr; }
  .boomer-capabilities article { min-height: 280px; }
  .boomer-acronym b { font-size: 55px; }
  .ghost-definition { grid-template-columns: repeat(3, 1fr); gap: 35px 0; }
  .ghost-definition > div:nth-child(3) { border: 0; }
  .ghost-definition span { font-size: 19vw; }
  .ghost-capabilities { grid-template-columns: 1fr; }
  .ghost-capabilities article { min-height: 280px; }
  .ghost-boundary p { margin-left: 0; }
}
