:root {
  --maroon: #6b0020;
  --dark-maroon: #3d0012;
  --gold: #d4af37;
  --black: #0a0a0a;
  --off-white: #f9f7f2;
  --ink-bleed: rgba(107, 0, 32, 0.15);
  --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--black);
  font-family: "Inter", sans-serif;
  color: var(--black);
  overflow-x: hidden;
}

/* The Grain Texture Overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Letterpress Container Effect */
.paper-canvas {
  background-color: var(--off-white);
  min-height: 100vh;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  border-bottom: 1px solid var(--ink-bleed);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--maroon);
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: "JetBrains Mono", monospace;
  text-decoration: none;
  color: var(--black);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition) 0.3s;
  opacity: 0.6;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--maroon);
}

/* Hero Section */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: 80px 60px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.mono-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--maroon);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 700;
}

.mono-tag.gold {
    color: var(--gold);
}
.mono-tag.gold::before {
    background: var(--gold);
}

.mono-tag::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--maroon);
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
    color: var(--black);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    color: var(--maroon);
}

/* Debossed Text Effect */
.debossed {
    color: var(--maroon);
    position: relative;
    display: inline-block;
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.05);
}

.gold-debossed {
    color: var(--gold);
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.8),
        -1px -1px 0px rgba(0, 0, 0, 0.05);
}

.hero-description {
    max-width: 500px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(10, 10, 10, 0.8);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Right Visual (Acrylic Geometry) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.acrylic-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ink-bleed);
    box-shadow: 0 40px 100px rgba(107, 0, 32, 0.15);
    z-index: 5;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.acrylic-frame img {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.layer-bg {
    z-index: 1;
}

.layer-fg {
    z-index: 2;
}

.stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--off-white);
    padding: 24px;
    border-radius: 4px;
    border: 1px solid var(--maroon);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: slideUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    box-shadow: 6px 6px 0px var(--maroon);
}

.stat-value {
    font-family: "JetBrains Mono", monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--maroon);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(10, 10, 10, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(15px, 25px) rotate(5deg); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Containers */
.section-pad {
  padding: 80px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.border-top {
  border-top: 1px solid var(--ink-bleed);
}

/* Interactive Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  background: rgba(107, 0, 32, 0.05);
  border-top: 1px solid var(--ink-bleed);
  border-bottom: 1px solid var(--ink-bleed);
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  grid-column: span 4;
  background: var(--off-white);
  padding: 60px 40px;
  transition: var(--transition) 0.5s;
  cursor: pointer;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.feature-card.dark {
  background: var(--maroon);
  color: var(--off-white);
}

.feature-card.dark .num,
.feature-card.dark * {
  color: var(--off-white);
}

.feature-card:hover {
  background: var(--maroon);
}

.feature-card:hover * {
  color: var(--off-white) !important;
}

.feature-card.dark:hover {
  background: var(--dark-maroon);
}

.feature-card .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 40px;
  opacity: 0.5;
}

.feature-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.feature-card ul {
  list-style: none;
  margin-top: auto;
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.8;
}

.feature-card ul li::before {
  content: "— ";
  color: var(--gold);
  font-weight: bold;
}

/* Founders Section */
.founders-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.founder-col {
  padding: 40px;
  background: rgba(107, 0, 32, 0.02);
  border: 1px solid var(--ink-bleed);
  position: relative;
}

.founder-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--maroon);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.founder-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--maroon);
  text-transform: uppercase;
}

.founder-bio {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.8);
}

.founder-portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  margin: 0 auto 20px;
  display: block;
}

/* Press Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--maroon);
  color: var(--off-white);
  padding: 24px 48px;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 4px 4px 0px var(--dark-maroon);
  margin-top: 40px;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--dark-maroon);
}

.cta-button.gold-btn {
  background: var(--gold);
  color: var(--black);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.cta-button.gold-btn:hover {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

/* Tactile Elements */
.stamp {
  position: absolute;
  right: 60px;
  bottom: 60px;
  width: 140px;
  height: 140px;
  border: 2px solid var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  transform: rotate(-15deg);
  opacity: 0.15;
  pointer-events: none;
}

.stamp span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  color: var(--maroon);
  text-transform: uppercase;
  font-weight: bold;
}

/* Footer Container */
.footer {
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--ink-bleed);
  background-color: var(--black);
  color: var(--off-white);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-info h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-info a {
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links svg {
  opacity: 0.6;
  transition:
    opacity 0.3s,
    stroke 0.3s;
}

.social-links a:hover svg {
  opacity: 1;
  stroke: var(--gold);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.active {
  animation: fadeInUp 1s var(--transition) forwards;
}

@media (max-width: 900px) {
  .feature-card {
    grid-column: span 12;
    min-height: auto;
  }
  nav {
    padding: 25px;
    flex-direction: column;
    gap: 20px;
  }
  .hero,
  .section-pad,
  .footer {
    padding: 60px 30px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    text-align: center;
  }
  .hero-content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-visual {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }
  .cto-group {
    justify-content: center;
  }
  h1 {
    font-size: 13vw;
  }
  h2 {
    font-size: 10vw;
  }
  .founders-wrapper {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .stamp,
  .stat-badge {
    display: none;
  }
}
