/* ─────────────────────────────────────────
   Ark Reactor — styles.css
   Dark, minimal investor site
───────────────────────────────────────── */

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

:root {
  --bg:          #080c10;
  --surface:     #0f1419;
  --card:        #111820;
  --card-hover:  #161f2a;
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.13);
  --teal:        #0bb4aa;
  --teal-dim:    rgba(11,180,170,0.12);
  --teal-glow:   rgba(11,180,170,0.25);
  --text:        #e4ecf4;
  --text-dim:    #6a7f95;
  --text-muted:  #3a4f62;
  --radius:      14px;
  --radius-sm:   8px;
  --max-w:       1160px;
  --nav-h:       68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

.section { padding: 120px 0; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
}

.section-sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: #000;
}
.btn-primary:hover { background: #0ecfc4; box-shadow: 0 0 30px var(--teal-glow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hi);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ── Logo mark ── */
.logo-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo .logo-mark {
  width: 28px;
  height: 28px;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg);
  z-index: 99;
  padding: 40px 32px;
}
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a {
  display: block;
  padding: 24px 0;
  text-decoration: none;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

body.nav-open .mobile-menu { display: block; }

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 60% 40%, rgba(11,180,170,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(11,180,170,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid texture */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  padding-bottom: 80px;
}

.hero-wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-wordmark svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.hero-title {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: clamp(44px, 7.5vw, 92px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─────────────────────────────────────────
   About
───────────────────────────────────────── */
.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 48px;
}

.about-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────
   Portfolio
───────────────────────────────────────── */
.portfolio { background: var(--bg); }

.section-header {
  margin-bottom: 64px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover {
  border-color: var(--border-hi);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--teal-dim);
}
.portfolio-card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.card-icon svg { width: 100%; height: 100%; }

.sesame-icon  { background: rgba(100, 180, 255, 0.1); color: #64b4ff; }
.arwall-icon  { background: rgba(255, 150, 100, 0.1); color: #ff9664; }
.volygon-icon { background: rgba(11, 180, 170, 0.1);  color: var(--teal); }

.card-stage {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.card-name {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.card-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 4px 10px;
  border-radius: 50px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}
.card-link:hover { color: var(--teal); }

/* ─────────────────────────────────────────
   Thesis quote
───────────────────────────────────────── */
.thesis {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.thesis-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.thesis-quote {
  font-family: 'Futura', 'Jost', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.02em;
  font-style: normal;
  position: relative;
}
.thesis-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 100px;
  color: var(--teal-dim);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.thesis-attr {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   Contact
───────────────────────────────────────── */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-body {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 24px 0 40px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.interest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.interest-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 400;
}

/* ── Contact Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.interest-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Futura', 'Jost', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-dim); }

/* ─────────────────────────────────────────
   Animations
───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:nth-child(1).fade-up { transition-delay: 0s; }
.portfolio-card:nth-child(2).fade-up { transition-delay: 0.1s; }
.portfolio-card:nth-child(3).fade-up { transition-delay: 0.2s; }

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; gap: 48px; }
  .portfolio-grid   { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 48px; }
  .about-stats      { gap: 24px; }
  .nav-links        { display: none; }
  .nav-toggle       { display: flex; }
}

@media (max-width: 600px) {
  .container        { padding: 0 20px; }
  .section          { padding: 80px 0; }
  .hero-content     { padding: 0 20px 80px; }
  .footer-inner     { flex-direction: column; text-align: center; }
  .about-stats      { flex-direction: column; gap: 20px; }
  .portfolio-card   { padding: 28px 24px; }
  .contact-card     { padding: 28px 24px; }
  .hero-cta         { flex-direction: column; align-items: flex-start; }
}
