/* ═══════════════════════════════════════════════════════════════════════════
   Reqtick — Design System v4 · Dribbble Premium Edition
   Palette: warm off-white paper, true black ink, electric lime
   Aesthetic: brutalist grid, sharp notched cards, cinematic animations
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Core palette */
  --paper:        #F0F0ED;       /* off-white, warm neutral */
  --ink:          #080808;       /* near-black */
  --ink-soft:     #383832;       /* secondary text - deepened for crisp legibility */
  --ink-faint:    #5C5C54;       /* subtle text - deepened for high contrast */

  /* Accent — electric lime */
  --lime:         #8CE42A;
  --lime-dark:    #1C7A1F;
  --lime-glow:    rgba(200,241,53,0.20);
  --lime-subtle:  rgba(200,241,53,0.08);

  /* Semantic */
  --green:        #1C9457;
  --green-soft:   rgba(28,148,87,0.12);
  --red:          #D63B26;
  --red-dark:     #B02B1A;
  --red-soft:     rgba(214,59,38,0.10);
  --purple:       #6B4FA0;

  /* Surface */
  --line:         #080808;
  --line-soft:    #DEDEDA;
  --line-faint:   #EAEAE7;
  --card:         #FFFFFF;
  --card-alt:     #F7F7F4;
  --card-hover:   #FAFAF8;

  /* Geometry */
  --radius:       0px;
  --shadow:       3px 3px 0 var(--ink);
  --shadow-lg:    5px 5px 0 var(--ink);
  --shadow-xl:    8px 8px 0 var(--ink);

  /* Grid */
  --grid-dot:     #C8C8C2;
  --grid-size:    28px;

  /* Cursor tracking — start far offscreen */
  --mx: -600px;
  --my: -600px;
  --sx: 0px;
  --sy: 0px;

  /* Animation tokens */
  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:     0.15s;
  --dur-med:      0.28s;
  --dur-slow:     0.55s;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); height: 100%; scroll-behavior: smooth; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Dot-grid graph paper — fixed viewport background */
  background-image: radial-gradient(circle, var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: var(--grid-size) var(--grid-size);
  background-attachment: fixed;
}
main  { flex: 1 0 auto; width: 100%; }
footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Custom Scrollbar matching page background */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: var(--paper);
}
::-webkit-scrollbar-track {
  background-color: var(--paper);
  border-left: 1px solid var(--line-soft);
}
::-webkit-scrollbar-thumb {
  background-color: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--lime-dark);
}

/* Typography helpers */
.display { font-family: 'Space Grotesk', sans-serif; }
.mono    { font-family: 'IBM Plex Mono', monospace; }

/* ─── Grid Spotlight Overlay ─────────────────────────────────────────────── */
#grid-spotlight {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-image: radial-gradient(circle, #0A0A0A 1.6px, transparent 1.6px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: calc(-1px * var(--sx)) calc(-1px * var(--sy));
  mask-image: radial-gradient(
    circle 260px at var(--mx) var(--my),
    rgba(0,0,0,0.45) 0%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    circle 260px at var(--mx) var(--my),
    rgba(0,0,0,0.45) 0%,
    transparent 100%
  );
}
.grid-spotlight-active { opacity: 1 !important; }

/* ─── Logo SVG Mark ──────────────────────────────────────────────────────── */
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text-bold {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.08);
}
.logo:hover .logo-text-bold {
  color: var(--lime-dark);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
header {
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: var(--grid-size) var(--grid-size);
  background-attachment: fixed;
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-faint);
}
.header-inner {
  max-width: 1850px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ── Layout wrap ────────────────────────────────────────────────────── */
.wrap { max-width: 1540px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 24px; } }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ─── Header Dropdown Nav ────────────────────────────────────────────────── */
nav.top-nav { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; }
.nav-trigger {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px;
  color: var(--ink); padding: 9px 20px; border-radius: 6px;
  cursor: pointer; user-select: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-trigger:hover, .nav-item:hover .nav-trigger { background: rgba(8,8,8,0.06); }
.nav-trigger .chevron {
  width: 20px; height: 20px; stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.nav-item:hover .nav-trigger .chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 180px; background: var(--paper);
  border: 1.5px solid var(--line-soft);
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(8,8,8,0.12), 0 4px 12px rgba(8,8,8,0.06);
  padding: 6px; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -10px;
  right: -10px;
  height: 24px;
  background: transparent;
}
.nav-item:hover .nav-dropdown,
.nav-dropdown:hover,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.nav-dropdown-inner { display: flex; flex-direction: column; gap: 1px; }
.nav-dd-item {
  display: block;
  padding: 8px 12px; border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.15s ease; text-decoration: none;
}
.nav-dd-item:hover {
  background: transparent;
  color: var(--lime-dark) !important;
}
.nav-dd-item:hover .nav-dd-text b,
.nav-dd-item:hover b {
  color: var(--lime-dark) !important;
}
.nav-dd-text b {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 15px; margin: 0; color: inherit;
  transition: color 0.15s ease;
}
.nav-dd-text span { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.nav-dd-divider { grid-column: 1 / -1; border: none; border-top: 1px solid var(--line-faint); margin: 8px 0; }
.nav-dd-link {
  font-size: 13px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  color: var(--ink-soft); padding: 6px 10px; border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}
.nav-dd-link:hover { color: var(--ink); background: rgba(8,8,8,0.05); }

.back {
  font-size: 11px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  color: rgba(240,240,237,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.back:hover { color: var(--lime); }
@media (max-width: 860px) { nav.top-nav { display: none; } }


/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur-fast) ease,
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    transform var(--dur-med) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px) !important; }

/* Ripple shimmer on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime-dark);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--lime-dark);
  color: #fff;
  border-color: var(--lime-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-danger {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg  { padding: 13px 24px; font-size: 12.5px; }
.btn-sm  { padding: 6px 12px; font-size: 10.5px; }
.btn-pill { border-radius: 999px; }

/* ─── Page shell ─────────────────────────────────────────────────────────── */
main.page { max-width: 100%; margin: 0 auto; padding: 48px 48px 100px; position: relative; z-index: 2; }
main.page.narrow { max-width: 780px; }
.page-head {
  padding: 8px 0;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lime-dark);
  font-weight: 600;
}
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 42px);
  margin-top: 6px;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--card);
  color: var(--ink);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px var(--lime-glow);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.hint { font-size: 12px; color: var(--ink-soft); margin-top: 5px; line-height: 1.5; }
.status-msg {
  margin-top: 14px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-left: 3px solid;
}
.status-msg.error   { color: var(--red);   border-color: var(--red);   background: var(--red-soft); }
.status-msg.success { color: var(--green); border-color: var(--green); background: var(--green-soft); }

/* ─── Ticket / Program Card ──────────────────────────────────────────────── */
.ticket {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition:
    box-shadow var(--dur-med) var(--ease-spring),
    border-color var(--dur-fast) ease;
  will-change: transform;
  overflow: hidden;
}
/* Lime accent stripe */
.ticket::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--lime);
  z-index: 1;
}
/* Subtle hover shimmer */
.ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--lime-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) ease;
  pointer-events: none;
}
.ticket:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--lime-dark);
}
.ticket:hover::after { opacity: 1; }

.ticket-top { padding: 22px 22px 18px 26px; }
.ticket-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--lime);
  border: 1.5px solid var(--lime-dark);
  padding: 3px 9px;
  margin-right: 6px;
  color: var(--ink);
}
.ticket-tag.mode-online { background: var(--green); color: #fff; border-color: #18804a; }
.ticket-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-top: 11px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ticket-org { font-size: 12px; color: var(--ink-soft); margin-top: 5px; }
.ticket-meta { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.ticket-meta div span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.ticket-meta div b {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.perf {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--line-soft);
  margin-left: 26px;
}
.ticket-bottom {
  padding: 14px 22px 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ticket-id { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--ink-soft); }
.ticket-id b { color: var(--ink); display: block; font-size: 12px; letter-spacing: 0.05em; }
.barcode { display: flex; gap: 2px; align-items: flex-end; height: 28px; }
.barcode i { display: block; width: 2px; background: var(--ink); }
.fill-row { display: flex; align-items: center; gap: 9px; margin-top: 14px; }
.fill-track {
  flex: 1; height: 3px;
  background: var(--line-faint);
  overflow: hidden;
  position: relative;
}
.fill-bar {
  height: 100%;
  background: var(--lime);
  transition: width 0.7s var(--ease-spring);
  position: relative;
}
/* Animated shimmer on fill bar */
.fill-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer-bar 2.2s infinite ease-in-out;
}
@keyframes shimmer-bar {
  0%   { left: -60%; }
  100% { left: 120%; }
}
.fill-label { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--ink-soft); white-space: nowrap; }

/* Access tag */
.access-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  border: 1.5px solid var(--line-soft);
  padding: 3px 8px;
  background: var(--card);
}
.access-tag .dot-marker {
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--lime);
  animation: pulse-glow 2s infinite ease-in-out;
}

/* ─── Status Pills ───────────────────────────────────────────────────────── */
.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1.5px solid var(--ink);
  display: inline-block;
}
.pill-live     { background: var(--lime); color: var(--ink); border-color: var(--lime-dark); }
.pill-draft    { background: transparent; }
.pill-closed   { background: var(--ink); color: var(--paper); }
.pill-cancelled { background: transparent; color: var(--red); border-color: var(--red); }

/* ─── Startup Card ───────────────────────────────────────────────────────── */
.startup-card {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition:
    box-shadow var(--dur-med) var(--ease-spring),
    border-color var(--dur-fast) ease;
  will-change: transform;
}
.startup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--lime);
  z-index: 1;
}
.startup-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--lime-dark);
}
.startup-card-body { padding: 22px 22px 22px 26px; }
.startup-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.startup-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.startup-tagline { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.55; }
.startup-meta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.meta-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  border: 1.5px solid var(--line-soft);
  padding: 3px 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--card-alt);
}

/* Pitch & Role boxes */
.idea-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--lime-glow);
  border: 1.5px solid var(--lime-dark);
  border-radius: var(--radius);
}
.idea-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 6px;
}
.idea-box p { font-size: 13px; line-height: 1.6; color: var(--ink); }

.locked-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--card-alt);
  border: 1.5px dashed var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.locked-box b { color: var(--ink); }

.roles-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.role-row {
  padding: 12px 14px;
  border: 1.5px solid var(--line-soft);
  background: var(--card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  transition: border-color var(--dur-fast) ease;
}
.role-row:hover { border-color: var(--ink); }
.role-row.investor-role { border-color: var(--lime-dark); background: var(--lime-subtle); }
.role-info b { font-family: 'Space Grotesk', sans-serif; font-size: 14px; display: block; margin-top: 2px; }
.role-info span { font-size: 12px; color: var(--ink-soft); }

.investor-banner {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--lime);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.investor-banner b { font-family: 'Space Grotesk', sans-serif; font-size: 17px; display: block; letter-spacing: -0.01em; }
.investor-banner p { font-size: 13px; color: rgba(240,240,237,0.65); margin-top: 4px; max-width: 540px; line-height: 1.55; }
.investor-banner .btn-ghost { color: var(--paper); border-color: rgba(240,240,237,0.3); }
.investor-banner .btn-ghost:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ─── Header Action Icons ─────────────────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line-soft);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  transition: all var(--dur-fast) ease;
}
.icon-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.notification-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  border: 1.5px solid var(--card);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  padding: 48px 0 32px;
  background: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line-faint);
  position: relative;
  z-index: 2;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color var(--dur-fast) ease;
}
.footer-col a:hover {
  color: var(--ink);
  font-weight: 600;
}
.footer-bottom {
  padding: 24px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-row {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.foot-links {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.foot-links a { transition: color var(--dur-fast) ease; }
.foot-links a:hover { color: var(--ink); font-weight: 600; }
.foot-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ─── Prose (legal / support) ───────────────────────────────────────────── */
.prose { font-size: 15px; line-height: 1.78; color: var(--ink-soft); }
.prose h2 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); font-size: 18px; margin: 32px 0 12px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }

/* ─── Tabs ───────────────────────────────────────────────────────────────── */
.tabs { display: flex; border: 2px solid var(--ink); overflow: hidden; }
.tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  background: var(--card);
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.tab.active { background: var(--ink); color: var(--paper); }
.tab:not(:last-child) { border-right: 2px solid var(--ink); }
.tab:not(.active):hover { background: var(--card-alt); }

/* ─── Scroll Reveal Animations ───────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease-spring),
    transform var(--dur-slow) var(--ease-spring);
  will-change: opacity, transform;
}
.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Preloader ──────────────────────────────────────────────────────────── */
.tech-preloader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--ink);
  color: var(--paper);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  transition: opacity 0.55s var(--ease-in-out);
}
.tech-preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader-content { text-align: center; max-width: 380px; width: 90%; }
.boot-logo {
  font-family: 'IBM Plex Mono', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.boot-status {
  font-size: 10.5px;
  color: var(--lime);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  min-height: 1.4em;
  transition: opacity 0.2s ease;
}
.boot-bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  margin-bottom: 11px;
}
.boot-bar {
  width: 0%;
  height: 100%;
  background: var(--lime);
  transition: width 0.06s linear;
  position: relative;
}
.boot-bar::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 40px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8));
}
.boot-counter {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.07em;
}

/* ─── Filter Chips ───────────────────────────────────────────────────────── */
.chip-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chip-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.filter-chip {
  border: 1.5px solid var(--line-soft);
  padding: 5px 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--card);
  cursor: pointer;
  transition:
    background var(--dur-fast) ease,
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-med) var(--ease-spring);
}
.filter-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.filter-chip.active { background: var(--lime); color: var(--ink); border-color: var(--lime-dark); }

/* ─── Search Bar ─────────────────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  padding: 5px 5px 5px 18px;
  background: var(--card);
  max-width: 640px;
  transition: box-shadow var(--dur-fast) ease;
}
.search-bar:focus-within {
  box-shadow: 0 0 0 3px var(--lime-glow);
}
.search-bar input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: 'Inter', sans-serif; font-size: 14px; padding: 9px 0;
  color: var(--ink);
}
.search-btn {
  flex: none; width: 36px; height: 36px;
  background: var(--lime); color: var(--ink);
  border: none; cursor: pointer; font-size: 16px; font-weight: 700;
  transition: background var(--dur-fast) ease, transform var(--dur-med) var(--ease-spring);
}
.search-btn:hover { background: var(--lime-dark); transform: scale(1.05); }

/* ─── Empty State ────────────────────────────────────────────────────────── */
.empty-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  padding: 52px 0;
  letter-spacing: 0.04em;
}
.empty-note::before {
  content: '//';
  margin-right: 6px;
  color: var(--ink-faint);
}

/* ─── Social Media Icons ─────────────────────────────────────────────────── */
.foot-mid-link { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; transition: color 0.15s ease; }
.foot-mid-link:hover { color: var(--lime-dark); }
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 0;
}
.footer-social a {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink) !important;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: transparent !important;
  border: none !important;
}

/* Brand-specific original hover colors */
.footer-social a.social-x:hover,
.footer-social a.social-x:hover svg {
  color: #000000 !important;
  fill: #000000 !important;
}

.footer-social a.social-instagram:hover {
  color: #E1306C !important;
}
.footer-social a.social-instagram:hover svg {
  fill: url(#insta-grad) #E1306C !important;
}

.footer-social a.social-facebook:hover,
.footer-social a.social-facebook:hover svg {
  color: #1877F2 !important;
  fill: #1877F2 !important;
}

.footer-social a.social-reddit:hover,
.footer-social a.social-reddit:hover svg {
  color: #FF4500 !important;
  fill: #FF4500 !important;
}

.footer-social a.social-linkedin:hover,
.footer-social a.social-linkedin:hover svg {
  color: #0A66C2 !important;
  fill: #0A66C2 !important;
}

/* ─── Dribbble-Style Filter Category Bar ───────────────────────────────── */
.filter-category-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-select-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line-soft);
  border-radius: 10px;
  padding: 9px 36px 9px 16px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23080808" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.filter-select-btn:hover, .filter-select-btn:focus {
  border-color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.category-pills-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-pills-wrap::-webkit-scrollbar { display: none; }
.cat-pill {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.cat-pill:hover {
  color: var(--ink);
  background: rgba(8, 8, 8, 0.05);
}
.cat-pill.active {
  color: var(--ink);
  background: #EBF7D4;
  box-shadow: inset 0 0 0 1.5px var(--lime-dark);
}

/* ─── Misc Utilities ─────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.flex  { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ── Pre-footer Banner ────────────────────────────────────────────────── */
.closing-banner {
  position: relative;
  overflow: hidden;
  padding: 52px 52px;
  background-color: #EBF7D4;
  border: 2px solid var(--lime-dark);
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow);
}
.closing-banner-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.closing-banner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.closing-banner-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 30px;
  line-height: 1.5;
}
.btn-banner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lime);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-banner-pill:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.closing-banner-watermark {
  position: absolute;
  right: 380px;
  bottom: -40px;
  width: 340px;
  height: 340px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  object-fit: contain;
}
@media (max-width: 640px) {
  .closing-banner { padding: 40px 28px; border-radius: 20px; }
  .closing-banner-watermark { right: -200px; top: -20px; width: 300px; height: 300px; opacity: 0.10; }
}

/* ── Pixel Header Icons ────────────────────────────────────────────────── */
.header-icon-pixel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.12s ease;
  box-shadow: 2px 2px 0 var(--ink);
}
.header-icon-pixel:hover {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.pixel-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

/* ── Clean Header Pixel Icons & Hover Dropdowns ──────────────────────────── */
.header-icon-clean {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--ink);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.header-icon-clean:hover {
  color: var(--lime-dark);
  transform: translateY(-1px);
}
.header-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.header-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 250px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 8px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}
.header-dropdown-wrap:hover .header-dropdown-menu,
.header-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.header-dropdown-title {
  padding: 8px 16px 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line-faint);
}
.header-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.header-dropdown-item:hover {
  background: var(--paper);
  color: var(--lime-dark);
}
.header-dropdown-item.danger:hover {
  background: #fff0f0;
  color: var(--red);
}
.header-dropdown-divider {
  height: 1px;
  background: var(--line-faint);
  margin: 6px 0;
}
