@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Epilogue:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --ink: #0a0a0f;
  --paper: #f5f2ec;
  --paper-alt: #ede9e0;
  --amber: #e8a020;
  --amber-light: #f2c060;
  --amber-dark: #b87010;
  --teal: #1a5c5a;
  --teal-light: #2a8a86;
  --rust: #c44a20;
  --muted: #6b6560;
  --border: rgba(10,10,15,0.12);
  --radius: 4px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Epilogue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ──────────── NAV ──────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo .dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; display: inline-block; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; color: var(--paper) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); display: block; transition: all 0.3s; }

/* ──────────── HERO ──────────── */
.hero {
  min-height: 100vh;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -20%; right: -10%; 
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,92,90,0.08);
  border: 1px solid rgba(26,92,90,0.2);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}

.hero h1 em::after {
  content: '';
  position: absolute; left: 0; bottom: 2px; right: 0; height: 3px;
  background: var(--amber);
  opacity: 0.3;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
  cursor: pointer; border: none;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); }

.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-dark); color: var(--paper); transform: translateY(-1px); }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}

.h-card {
  position: absolute;
  background: var(--ink);
  color: var(--paper);
  border-radius: 16px;
  padding: 2rem;
  width: 320px;
  transition: transform 0.4s;
}

.h-card:nth-child(1) { top: 0; right: 0; background: var(--teal); transform: rotate(4deg); }
.h-card:nth-child(2) { top: 40px; left: 0; background: var(--ink); transform: rotate(-2deg); z-index: 2; }
.h-card:nth-child(3) { bottom: 0; right: 20px; background: var(--amber); color: var(--ink); transform: rotate(1deg); z-index: 1; }

.h-card:hover { transform: rotate(0) scale(1.03) !important; z-index: 10 !important; }

.h-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.h-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.h-card-desc { font-size: 0.8rem; opacity: 0.75; line-height: 1.5; }

/* ──────────── STATS STRIP ──────────── */
.stats-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; }

/* ──────────── SECTIONS ──────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
}

/* ──────────── SERVICES GRID ──────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--paper);
  padding: 2.25rem;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0; background: var(--amber);
  transition: width 0.35s;
}

.service-card:hover { background: #faf8f3; }
.service-card:hover::before { width: 100%; }

.sc-icon {
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.sc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.sc-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ──────────── PROJECTS ──────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--paper);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,10,15,0.1); }

.project-thumb {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.project-thumb.teal { background: var(--teal); }
.project-thumb.amber { background: var(--amber); }
.project-thumb.ink { background: var(--ink); }
.project-thumb.rust { background: var(--rust); }

.project-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
}

.project-body { padding: 1.75rem; }

.project-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.tag-active { background: rgba(26,92,90,0.1); color: var(--teal); }
.tag-complete { background: rgba(232,160,32,0.15); color: var(--amber-dark); }
.tag-beta { background: rgba(196,74,32,0.1); color: var(--rust); }

.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.project-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }

.project-tech { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tech-pill {
  font-size: 0.72rem;
  background: var(--paper-alt);
  color: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ──────────── FOUNDER ──────────── */
.founder-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3.5rem;
}

.founder-visual-wrap { position: relative; }

.founder-frame {
  background: var(--ink);
  border-radius: 20px;
  aspect-ratio: 4/5;
  max-width: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.founder-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 15px, rgba(232,160,32,0.04) 15px, rgba(232,160,32,0.04) 30px);
}

.founder-accent-box {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--amber);
  color: var(--ink);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-display);
}
.founder-accent-box strong { display: block; font-size: 1.4rem; font-weight: 800; }
.founder-accent-box span { font-size: 0.75rem; opacity: 0.7; }

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}

.founder-role {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.founder-bio { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

.skills-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.skill-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  background: var(--paper-alt);
  border: 1px solid var(--border);
  color: var(--ink);
}

/* ──────────── INVEST SECTION ──────────── */
.invest-section {
  background: var(--ink);
  color: var(--paper);
}

.invest-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.invest-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.invest-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.invest-desc { color: rgba(245,242,236,0.65); line-height: 1.75; margin-bottom: 2rem; }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(245,242,236,0.08);
  border-radius: 10px;
  transition: border-color 0.25s, background 0.25s;
}
.why-list li:hover { border-color: var(--amber); background: rgba(232,160,32,0.05); }

.why-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.why-text strong { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.why-text span { font-size: 0.83rem; color: rgba(245,242,236,0.55); }

/* ──────────── CONTACT ──────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  margin-top: 3.5rem;
}

.contact-info {}

.contact-channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-channel:first-child { border-top: 1px solid var(--border); }

.ch-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.ch-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.15rem; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ch-value { font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.ch-value a { color: inherit; text-decoration: none; }
.ch-value a:hover { color: var(--teal); }

.contact-form { background: var(--paper-alt); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.5rem; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { min-height: 110px; }

/* ──────────── FOOTER ──────────── */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245,242,236,0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap; gap: 2rem;
}

.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.85rem; color: rgba(245,242,236,0.5); }

.footer-links { display: flex; gap: 4rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: rgba(245,242,236,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245,242,236,0.35);
}

.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ──────────── PAGE HERO ──────────── */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  padding-top: calc(clamp(5rem, 10vw, 8rem) + 68px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute; top: -50%; right: -5%;
  width: 500px; height: 500px;
  border: 1px solid rgba(232,160,32,0.12);
  border-radius: 50%;
}

.page-hero::before {
  content: '';
  position: absolute; bottom: -20%; left: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,92,90,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 700px;
  position: relative; z-index: 1;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(245,242,236,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-top: 1.25rem;
  position: relative; z-index: 1;
}

/* ──────────── MOBILE NAV ──────────── */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column; gap: 0.25rem;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

/* ──────────── ANIMATIONS ──────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .founder-layout { grid-template-columns: 1fr; gap: 3rem; }
  .founder-visual-wrap { max-width: 320px; }
  .invest-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 500px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}
