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

:root {
  --white: #ffffff;
  --black: #000000;
  --mint: #1CC858;
  --orange: #FF5722;
  --bebas: 'Bebas Neue', sans-serif;
  --bask: 'Libre Baskerville', serif;
  --mono: 'IBM Plex Mono', monospace;
  --line: 1.5px solid var(--black);
  --line-hero: 1.5px solid var(--black);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* VERTICAL RAIL LABEL */
.rail {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(-180deg);
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.45em;
  color: var(--black);
  opacity: 0.25;
  z-index: 50;
  pointer-events: none;
  text-transform: uppercase;
}

/* NAV */
nav {
  display: flex;
  flex-direction: column;
  padding: 0 48px 32px 48px;
  border-bottom: var(--line);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
}

.wordmark {
  font-family: var(--bebas);
  font-size: 72px;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 10px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--orange);
}

/* ── Dropdown ── */
.dropdown { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--black);
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  z-index: 20;
}
.drop-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 10px;
  white-space: nowrap;
}
.drop-menu li a:hover { background: var(--slate); color: var(--orange); }
.dropdown:hover .drop-menu,
.dropdown.open .drop-menu { display: block; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.menu-btn .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-btn .bar:nth-child(1) {
  top: 0;
}

.menu-btn .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-btn .bar:nth-child(3) {
  bottom: 0;
}

.menu-btn.open .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.nav-tag {
  font-size: 9px;
  padding-top: 8px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  border-bottom: var(--line);
  gap: 80px;
}

.hero-main {
  flex: 1.4;
}

.hero-hed {
  font-family: var(--bebas);
  font-size: clamp(72px, 11vw, 152px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

.hero-hed .mint {
  color: var(--mint);
}

.hero-sub {
  font-family: var(--bask);
  font-size: 20px;
  line-height: 1.55;
  max-width: 500px;
  border-left: var(--line-hero);
  padding-left: 22px;
  margin-bottom: 52px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bebas);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--black);
  border-bottom: 3px solid var(--orange);
  padding-bottom: 6px;
  transition: padding-left 0.2s ease;
}

.cta:hover {
  padding-left: 10px;
}

.hero-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--line);
  position: relative;
}

.hero-aside::before {
  content: '01';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 22px;
  height: 22px;
  background: var(--mint);
  border: var(--line);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-row {
  display: flex;
  border-bottom: var(--line);
  padding: 20px 24px;
  gap: 24px;
  align-items: baseline;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-num {
  font-family: var(--bebas);
  font-size: 48px;
  line-height: 1;
  color: var(--black);
  min-width: 90px;
}

.stat-num.mint {
  color: var(--mint);
}

.stat-label {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.7;
}

/* SECTION META */
.smeta {
  padding: 28px 48px;
  border-bottom: var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.55;
}

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  border-bottom: var(--line);
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 80px;
  align-items: start;
}

.mani-title {
  font-family: var(--bebas);
  font-size: 52px;
  line-height: 1;
}

.mani-text {
  font-family: var(--bask);
  font-size: clamp(17px, 2.5vw, 31px);
  line-height: 1.35;
}

.mani-text em {
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ACCORDION */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.acc-wrap {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.acc {
  display: flex;
  width: 100%;
  height: 680px;
  border-bottom: var(--line);
  overflow: hidden;
}

.acc-item {
  flex: 1;
  min-width: 72px;
  height: 100%;
  border-right: var(--line);
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.acc-item:last-child {
  border-right: none;
}

.acc-item:hover {
  flex: 4.2;
}

.acc-item.dark {
  background: var(--black);
  color: var(--white);
}

.acc-content {
  opacity: 0;
  padding: 52px 44px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s ease 0.18s;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

.acc-item:hover .acc-content {
  opacity: 1;
  pointer-events: auto;
}

.clabel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: var(--bebas);
  font-size: 28px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.acc-item:hover .clabel {
  opacity: 0;
}

.acc-num {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.acc-num.a {
  color: var(--mint);
}

.acc-title {
  font-family: var(--bebas);
  font-size: 64px;
  line-height: 0.88;
  margin-bottom: 18px;
}

.acc-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 24px;
  opacity: 0.6;
}

.acc-desc {
  font-size: 13px;
  line-height: 1.65;
  max-width: 460px;
}

.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
}

.tag {
  padding: 4px 10px;
  border: var(--line);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.tag.inv {
  border-color: var(--white);
}

.tag.fill {
  background: var(--mint);
  color: var(--black);
  border-color: var(--mint);
}

a.tag {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

a.tag:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

a.tag svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* CODE BLOCK inside accordion */
.code-box {
  margin-top: 12px;
  background: #111;
  border: var(--line);
  flex: 1;
  overflow: auto;
  min-height: 0;
}

.code-bar {
  display: flex;
  justify-content: space-between;
  background: var(--black);
  padding: 6px 12px;
  font-size: 9px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.code-bar-dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.code-body {
  padding: 14px;
  font-size: 10px;
  line-height: 1.7;
  overflow-x: auto;
}

.code-body pre {
  white-space: pre-wrap;
}

.ca {
  color: var(--mint);
}

.cw {
  color: var(--white);
}

.cd {
  color: rgba(255, 255, 255, 0.45);
}

/* DETAILS STRIP */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--line);
}

.detail-col {
  padding: 60px 48px;
  border-right: var(--line);
}

.detail-col:last-child {
  border-right: none;
}

.detail-col h3 {
  font-family: var(--bebas);
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 1;
}

.detail-col p {
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.75;
  margin-bottom: 16px;
}

.detail-col ul {
  list-style: none;
  padding: 0;
}

.detail-col li {
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.detail-col li::before {
  content: '—';
  opacity: 0.35;
  flex-shrink: 0;
}

/* PIPELINE */
.pipeline {
  padding: 100px 48px;
  border-bottom: var(--line);
}

.pipeline-hed {
  font-family: var(--bebas);
  font-size: 52px;
  margin-bottom: 12px;
}

.pipeline-sub {
  font-family: var(--bask);
  font-style: italic;
  font-size: 18px;
  margin-bottom: 60px;
  opacity: 0.65;
}

.pipe-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: var(--line);
}

.pipe-step {
  padding: 36px 28px;
  border-right: var(--line);
  position: relative;
}

.pipe-step:last-child {
  border-right: none;
}

.pipe-step::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  background: var(--white);
  z-index: 10;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipe-step:last-child::after {
  display: none;
}

.pipe-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  background: var(--mint);
  transition: background 0.2s, color 0.2s;
}

.pipe-cta:hover {
  background: var(--orange);
  color: var(--white);
}

.pipe-cta .pipe-name {
  margin-bottom: 0;
  font-size: 28px;
}

.pipe-cta .arrow {
  font-size: 32px;
  margin-top: 12px;
}

.pipe-step:last-child::after {
  display: none;
}

.pipe-n {
  font-family: var(--bebas);
  font-size: 52px;
  color: rgba(0, 0, 0, 0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.pipe-name {
  font-family: var(--bebas);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--black);
}

.pipe-desc {
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.65;
}

/* METRICS */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--line);
}

.metric {
  padding: 52px 40px;
  border-right: var(--line);
}

.metric:last-child {
  border-right: none;
}

.metric-val {
  font-family: var(--bebas);
  font-size: 68px;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-val .unit {
  font-size: 28px;
}

.metric-val .mint {
  color: var(--mint);
}

.metric-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.metric-note {
  font-size: 11px;
  margin-top: 10px;
  opacity: 0.5;
}

/* FOOTER */
footer {
  padding: 72px 48px 36px 48px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 0;
  margin-bottom: 72px;
  border-bottom: var(--line);
  padding-bottom: 72px;
}

.footer-brand h2 {
  font-family: var(--bebas);
  font-size: 88px;
  line-height: 0.82;
  margin-bottom: 14px;
}

.footer-brand p {
  font-family: var(--bask);
  font-style: italic;
  font-size: 15px;
  opacity: 0.6;
}

.footer-col h5 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: var(--line);
  display: inline-block;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 12px;
  color: var(--black);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
  opacity: 0.35;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media(max-width:1024px) {

  nav,
  .hero,
  .manifesto,
  .pipeline,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .smeta {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    flex-direction: column;
    gap: 48px;
    min-height: auto;
    padding-top: 52px;
  }

  .hero-aside {
    width: 100%;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .acc {
    flex-direction: column;
    height: auto;
  }

  .acc-item {
    width: 100%;
    height: 96px;
    min-height: 96px;
    border-right: none;
    border-bottom: var(--line);
    flex: none;
  }

  .acc-item:last-child {
    border-bottom: none;
  }

  .acc-item:hover {
    height: 560px;
  }

  .clabel {
    transform: translateY(-50%);
    left: 28px;
    top: 50%;
  }

  .acc-content {
    position: static;
    height: auto;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .detail-col {
    border-right: none;
    border-bottom: var(--line);
    padding: 44px 28px;
  }

  .pipe-steps {
    grid-template-columns: 1fr 1fr;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media(max-width:640px) {
  .wordmark {
    font-size: 48px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 90;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: var(--line);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 24px;
    font-family: var(--bebas);
    letter-spacing: 0.05em;
  }

  .nav-links a::after {
    display: none;
  }

  .pipe-steps {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO ILLUSTRATION */
.hero-illustration {
  position: relative;
  border: var(--line);
  display: inline-block;
  width: 100%;
}

.hero-img {
  display: block;
  width: 70%;
  margin: 0 auto;
  height: auto;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

.hero-corner {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 22px;
  height: 22px;
  background: var(--orange);
  border: var(--line);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
}

.hero-rail-h {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--black);
}

.hero-rail-v {
  position: absolute;
  top: 0;
  right: -1px;
  height: 100%;
  width: 1.5px;
  background: var(--black);
}

/* COMPACT STATS STRIP */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--line);
  border-top: none;
}

.hstat {
  padding: 14px 16px;
  border-right: var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hstat:last-child {
  border-right: none;
}

.hstat-n {
  font-family: var(--bebas);
  font-size: 34px;
  line-height: 1;
}

.hstat-n.mint {
  color: var(--mint);
}

.hstat-l {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
}
/* ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-img {
  animation: float 6s ease-in-out infinite;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.cta, .pipe-cta, .tag {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta:hover, .pipe-cta:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tag:hover {
  transform: translateY(-2px);
}

/* ORIGIN LINE — why I built this */
.acc-origin {
  font-family: var(--bask);
  font-style: italic;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 440px;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--mint);
}

/* STACK CHIPS */
.acc-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.stech {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--black);
  background: transparent;
}

.stech.inv {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

.acc-item.dark .stech:not(.inv) {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}

/* BLUEPRINTER HEADER */
.blueprinter-header {
  padding: 36px 44px 24px;
  background: var(--black);
  border-bottom: 1px solid #333;
  flex-shrink: 0;
}

.blueprinter-header .acc-sub {
  color: rgba(255, 255, 255, 0.5);
}

/* USAGE STRIP */
.usage-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: var(--line);
}

.usage-col {
  padding: 60px 48px;
  border-right: var(--line);
}

.usage-col:last-child {
  border-right: none;
}

.usage-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.4;
  margin-bottom: 14px;
}

.usage-hed {
  font-family: var(--bebas);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 20px;
}

.usage-desc {
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.75;
  margin-bottom: 24px;
}

.usage-cmd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 7px 12px;
  background: #f4f4f4;
  border-left: 2px solid var(--mint);
  margin-bottom: 6px;
  line-height: 1.6;
}

.usage-prompt {
  color: var(--mint);
  font-weight: 700;
  margin-right: 6px;
}

@media(max-width:1024px) {
  .usage-strip {
    grid-template-columns: 1fr;
  }

  .usage-col {
    border-right: none;
    border-bottom: var(--line);
    padding: 44px 28px;
  }

  .usage-col:last-child {
    border-bottom: none;
  }
}

