@keyframes pulsate {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes hard-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes glitch-in {
  0% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
  10% { transform: translate(-6px,3px); clip-path: inset(0 40% 0 0); }
  20% { transform: translate(5px,-2px); clip-path: inset(0 0 0 55%); }
  30% { transform: translate(-3px,0); clip-path: inset(30% 0 40% 0); }
  40% { transform: translate(4px,2px); clip-path: inset(0 0 0 0); }
  50%, 100% { transform: translate(0,0); clip-path: inset(0 0 0 0); }
}
@keyframes reveal-in {
  0% { opacity: 0; translate: 0 28px; }
  100% { opacity: 1; translate: 0 0; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-weight: 300;
}

::selection { background: #0d0d0d; color: #DBFE87; }

.page {
  width: 100%;
  background: #0d0d0d;
  color: #F0EDE6;
  overflow-x: hidden;
}

.reveal {
  animation: reveal-in 0.4s steps(3, end) both;
}

.blink-dot {
  color: #DBFE87;
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  top: -0.03em;
  animation: hard-blink 1.6s steps(1, end) infinite;
}

.tag {
  position: absolute;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 4px 10px;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 3px solid #F0EDE6;
  position: relative;
  z-index: 20;
}
.logo {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 0.85;
}
.logo-sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 5px;
  font-weight: 400;
  margin-top: 4px;
}
.nav-meta {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* HERO */
.hero {
  background: #6050DC;
  padding: 100px 32px 80px;
  position: relative;
  border-bottom: 3px solid #0d0d0d;
}
.tag--hero {
  top: 24px; right: 32px;
  color: #0d0d0d;
  background: #DBFE87;
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -1px;
  margin: 0;
  color: #F0EDE6;
  max-width: 1100px;
  text-wrap: pretty;
  animation: glitch-in 0.6s steps(1, end) 1;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-lede {
  font-family: 'DM Mono', monospace;
  font-weight: 400;
  font-size: 18px;
  max-width: 380px;
  color: #F0EDE6;
  opacity: 1;
  margin: 0;
  line-height: 1.55;
  border-left: 3px solid #DBFE87;
  padding-left: 16px;
}
.hero-quote {
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  font-size: 20px;
  max-width: 460px;
  text-align: left;
  color: #0d0d0d;
  background: #F0EDE6;
  padding: 20px 24px;
  margin: 0;
  transform: rotate(-1deg);
  border: 3px solid #0d0d0d;
}

/* MISSION MARQUEE */
.marquee {
  background: #FF5A36;
  border-bottom: 3px solid #0d0d0d;
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
.marquee-text {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  padding-right: 40px;
  color: #0d0d0d;
}

/* MANIFESTO */
.manifesto {
  background: #0d0d0d;
  padding: 90px 32px;
  position: relative;
  border-bottom: 3px solid #F0EDE6;
}
.tag--manifesto {
  top: 24px; left: 32px;
  color: #0d0d0d;
  background: #8987EC;
}
.manifesto-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 80px auto 0;
}
.manifesto-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  margin: 0;
  color: #DBFE87;
  text-align: left;
}
.manifesto-lede {
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  font-size: clamp(20px, 2.8vw, 32px);
  line-height: 1.4;
  max-width: 760px;
  margin: 28px 0 0 0;
  color: #F0EDE6;
  text-wrap: pretty;
}
.hl {
  font-weight: 500;
}
.hl--lime { color: #DBFE87; }
.hl--orange { color: #FF5A36; }

.manifesto-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 44px auto 0;
}
.pillar {
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  line-height: 1.4;
  background: transparent;
  padding: 16px 20px;
  max-width: 280px;
  border: 2px solid;
}
.pillar--lime { color: #DBFE87; border-color: #DBFE87; }
.pillar--orange { color: #FF5A36; border-color: #FF5A36; }
.pillar--purple { color: #8987EC; border-color: #8987EC; }

.manifesto-sub-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 56px;
}
.manifesto-sub {
  font-family: 'DM Mono', monospace;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
  color: #F0EDE6;
  border-left: 3px solid #8987EC;
  padding-left: 20px;
}
.manifesto-quote-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 70px;
}
.manifesto-quote {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1.1;
  max-width: 640px;
  margin: 0;
  color: #0d0d0d;
  background: #DBFE87;
  padding: 24px 28px;
  text-align: right;
}

/* PROJECTS */
.projects {
  background: #DBFE87;
  padding: 90px 32px 100px;
  position: relative;
  border-bottom: 3px solid #0d0d0d;
}
.tag--projects {
  top: 24px; right: 32px;
  color: #F0EDE6;
  background: #0d0d0d;
}
.projects-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 6vw, 90px);
  letter-spacing: -1px;
  margin: 0 0 60px 0;
  color: #0d0d0d;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 3px solid #0d0d0d;
}
.project-card {
  text-decoration: none;
  display: block;
  padding: 36px 28px;
  border-bottom: 3px solid #0d0d0d;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.project-num {
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 14px;
  opacity: 0.8;
}
.project-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  margin-bottom: 12px;
}
.project-name--sm {
  font-size: clamp(22px, 2.6vw, 34px);
}
.project-desc {
  font-size: 15px;
  line-height: 1.5;
}

.project-card--purple {
  border-right: 3px solid #0d0d0d;
  background: #6050DC;
  color: #F0EDE6;
}
.project-card--purple:hover {
  background: #F0EDE6;
  color: #6050DC;
  transform: translate(4px, -4px);
}
.project-card--orange {
  background: #FF5A36;
  color: #0d0d0d;
}
.project-card--orange:hover {
  background: #0d0d0d;
  color: #FF5A36;
  transform: translate(-4px, -4px);
}
.project-card--pink {
  border-right: 3px solid #0d0d0d;
  background: #DC88FF;
  color: #0d0d0d;
}
.project-card--pink:hover {
  background: #0d0d0d;
  color: #DC88FF;
  transform: translate(4px, 4px);
}
.project-card--dark {
  background: #0d0d0d;
  color: #F0EDE6;
}
.project-card--dark:hover {
  background: #F0EDE6;
  color: #0d0d0d;
  transform: translate(-4px, 4px);
}

/* WHAT WE ARE NOT */
.not-this {
  background: #8987EC;
  padding: 90px 32px 100px;
  position: relative;
  border-bottom: 3px solid #0d0d0d;
}
.tag--not-this {
  top: 24px; left: 32px;
  color: #F0EDE6;
  background: #0d0d0d;
}
.not-this-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 6vw, 90px);
  letter-spacing: -1px;
  margin: 70px 0 40px 0;
  color: #0d0d0d;
}
.not-this-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1000px;
}
.not-this-tag {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  background: #0d0d0d;
  color: #F0EDE6;
  padding: 12px 18px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.not-this-quote-row {
  margin-top: 70px;
  display: flex;
  justify-content: flex-end;
}
.not-this-quote {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  color: #F0EDE6;
  background: #FF5A36;
  padding: 28px 32px;
  max-width: 560px;
  margin: 0;
  text-align: right;
  line-height: 1.1;
}

/* CONVENIENCE IS NOT NEUTRAL */
.convenience {
  background: #F0EDE6;
  padding: 100px 32px 20px;
  position: relative;
}
.convenience-eyebrow {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #a9c95a;
  margin-bottom: 56px;
}
.convenience-row {
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.convenience-text-wrap {
  position: relative;
  max-width: 62%;
  flex: 1 1 62%;
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.75;
  color: #0d0d0d;
}
.convenience-ghost {
  visibility: hidden;
}
.convenience-ghost div,
.convenience-typed div {
  white-space: pre-wrap;
  margin: 0;
}
.convenience-typed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.typing-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: #0d0d0d;
  vertical-align: text-bottom;
  animation: hard-blink 0.9s steps(1, end) infinite;
}
.convenience-slogan {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.convenience-slogan span {
  font-family: 'DM Mono', monospace;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 26px);
  color: #6050DC;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .convenience-row {
    flex-direction: column;
  }
  .convenience-text-wrap {
    max-width: 100%;
  }
  .convenience-slogan {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
  }
}

/* TAGLINE BAND */
.tagline-band {
  background: #F0EDE6;
  border-bottom: 3px solid #0d0d0d;
  padding: 60px 32px;
  text-align: center;
}
.tagline-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 6.5vw, 100px);
  letter-spacing: -1px;
  color: #0d0d0d;
  opacity: 0;
  transition: opacity 4.5s ease;
}
.tagline-text.is-visible {
  opacity: 1;
}
.tagline-text.is-pulsing {
  animation: pulsate 3.2s ease-in-out infinite;
}

/* FOOTER */
.footer {
  background: #0d0d0d;
  color: #F0EDE6;
  padding: 50px 32px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid #333;
  padding-bottom: 32px;
}
.footer-logo {
  font-size: 28px;
}
.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 1px;
}
.footer-links a {
  color: #F0EDE6;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #888;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card--purple,
  .project-card--pink {
    border-right: none;
  }
}
