/* ─── WICCON INVEST — Main Stylesheet ─────────────────────────────────────── */
/* To update brand colors, change the variables in :root only.                 */

:root {
  /* Backgrounds */
  --bg:             #FFFFFF;
  --bg-mid:         #F5F7FA;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8FAFD;

  /* Brand accent */
  --accent:         #1A6EFF;
  --accent-dim:     rgba(26, 110, 255, 0.08);
  --accent-border:  rgba(26, 110, 255, 0.20);

  /* Yellow — headings, labels, highlights */
  --yellow:         #E9A61F;
  --yellow-dim:     rgba(233, 166, 31, 0.10);
  --yellow-border:  rgba(233, 166, 31, 0.25);

  /* Text */
  --text:           #1A2332;
  --text-muted:     #5A6A7D;
  --text-faint:     #9AABB8;

  /* Borders */
  --border:         rgba(0, 0, 0, 0.08);
  --border-dark:    rgba(0, 0, 0, 0.14);

  /* Status */
  --green:          #1E8A4C;
  --amber:          #C46A00;

  /* Layout */
  --radius:         10px;
  --radius-lg:      16px;
  --font:           'Inter', system-ui, sans-serif;
  --transition:     0.3s ease;
  --max-w:          1120px;
}

/* ─── RESET & BASE ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.70; }

img { display: block; max-width: 100%; }

::selection { background: var(--yellow); color: #fff; }

/* ─── SCROLL ANIMATIONS ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

section {
  padding: 100px 0;
}

section:nth-child(even) {
  background: var(--bg-mid);
}

/* Section labels — yellow */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 56px;
}

/* ─── NAV ───────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  border-bottom-color: var(--border);
  padding: 13px 0;
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

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

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 6px;
  transition: opacity var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  opacity: 0.88 !important;
  transform: translateY(-1px);
}

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

/* ─── HERO ──────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Subtle dot-grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,110,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Soft yellow glow top-right */
.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,166,31,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px 32px 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.hero-headline {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

/* em in h1 — yellow */
.hero-headline em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 14px 30px;
  border-radius: 8px;
  transition: transform var(--transition), opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--text); opacity: 1; }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

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

/* ─── ABOUT ─────────────────────────────────────────────────────────────────── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#about p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
#about p:last-child { margin-bottom: 0; }

#about p strong {
  color: var(--text);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.about-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: background var(--transition), box-shadow var(--transition);
}
.about-stat:first-child  { border-radius: var(--radius) 0 0 0; }
.about-stat:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.about-stat:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.about-stat:last-child   { border-radius: 0 0 var(--radius) 0; }
.about-stat:hover { background: var(--bg-card-hover); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.about-stat-number {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── INVESTMENT THESIS ─────────────────────────────────────────────────────── */
#thesis .pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 44px 36px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.pillar:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.pillar:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }

.pillar:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: var(--border-dark);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pillar-icon.tech    { background: var(--accent-dim); }
.pillar-icon.finance { background: var(--yellow-dim); }
.pillar-icon.impact  { background: rgba(30,138,76,0.08); }

/* h3 — yellow */
h3 {
  color: var(--yellow);
}

.pillar h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pillar p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── HOW WE INVEST ─────────────────────────────────────────────────────────── */
#criteria .criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.criterion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.criterion:hover {
  border-color: var(--border-dark);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

/* criterion-num — yellow */
.criterion-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.06em;
  min-width: 28px;
  padding-top: 2px;
}

.criterion h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.criterion p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Board policy box */
.board-policy {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 32px;
}

.board-policy h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.board-policy p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}
.board-policy p:last-child { margin-bottom: 0; }

/* Not the right fit */
.not-fit {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  background: var(--bg-card);
}

.not-fit h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 20px;
}

.not-fit ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.not-fit li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.not-fit li::before {
  content: '×';
  color: var(--text-faint);
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.not-fit p {
  font-size: 13px;
  color: var(--text-faint);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

/* Ticket chips */
.ticket-row {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.ticket-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
}
.ticket-chip strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── UNICORN-SAURUS REX ────────────────────────────────────────────────────── */
#unicorn {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.unicorn-glow {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,166,31,0.07) 0%, transparent 70%);
  pointer-events: none;
}

#unicorn .unicorn-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.unicorn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

#unicorn p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
#unicorn p:last-of-type { margin-bottom: 0; }

#unicorn p strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── PORTFOLIO ─────────────────────────────────────────────────────────────── */
#portfolio .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.portfolio-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.portfolio-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.portfolio-card-sector {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
}

.portfolio-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
  margin-top: auto;
}

.status-active {
  color: var(--accent);
  background: var(--accent-dim);
}

.status-exited {
  color: var(--green);
  background: rgba(30,138,76,0.08);
}

.status-merging {
  color: var(--amber);
  background: rgba(196,106,0,0.08);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ─── WHAT WE BRING ─────────────────────────────────────────────────────────── */
#value .value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  border-color: var(--border-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.value-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── CONTACT ───────────────────────────────────────────────────────────────── */
#contact {
  text-align: center;
  background: var(--bg);
}

#contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.contact-email {
  display: inline-block;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 8px 0 20px;
  transition: color var(--transition);
}
.contact-email:hover { color: var(--accent); opacity: 1; }

.contact-note {
  font-size: 14px;
  color: var(--text-faint);
  max-width: 400px;
  margin: 0 auto;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

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

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

.footer-link {
  font-size: 13px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--text); opacity: 1; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  section { padding: 72px 0; }

  #about .about-grid { grid-template-columns: 1fr; gap: 48px; }

  #thesis .pillars {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pillar:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .pillar:last-child  { border-radius: 0 0 var(--radius) var(--radius); }

  #criteria .criteria-grid { grid-template-columns: 1fr; }

  #portfolio .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  #value .value-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 22px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 110px 20px 60px; }
  .footer-inner { padding: 0 20px; flex-direction: column; gap: 12px; text-align: center; }

  #portfolio .portfolio-grid { grid-template-columns: 1fr; }

  .about-stats { grid-template-columns: 1fr; gap: 2px; }
  .about-stat:first-child  { border-radius: var(--radius) var(--radius) 0 0; }
  .about-stat:nth-child(2) { border-radius: 0; }
  .about-stat:nth-child(3) { border-radius: 0; }
  .about-stat:last-child   { border-radius: 0 0 var(--radius) var(--radius); }
}
