/* ── SELF-HOSTED IBM PLEX MONO ── */
/* Eliminates the Google Fonts render-blocking request (-370ms LCP) */

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-300i-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-300i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400i-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --green: #3aaa62;
  --green-dim: #1e5c38;
  --green-glow: rgba(58, 170, 98, 0.18);
  --green-faint: rgba(58, 170, 98, 0.06);
  --white: #e8f3fd;
  --muted: #4a7a5a;
  --bg: #050a08;
  --glass-bg: rgba(10, 22, 15, 0.45);
  --glass-border: rgba(58, 170, 98, 0.18);
  --glass-shadow:
    0 8px 48px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(58, 170, 98, 0.12) inset;
  --mono: "IBM Plex Mono", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 10px;
  height: 18px;
  background: var(--green);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: transform 0.1s;
}

/* ── BACKGROUND ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 15% 20%,
      rgba(20, 80, 45, 0.35) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 85% 75%,
      rgba(10, 50, 30, 0.3) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 50% 50%,
      rgba(5, 30, 15, 0.2) 0%,
      transparent 70%
    ),
    #050a08;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(58, 170, 98, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 170, 98, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse 100% 100% at 50% 0%,
    black 0%,
    transparent 75%
  );
}

/* ── GLASS MIXIN ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ── LAYOUT ── */
.page {
  position: relative;
  z-index: 1;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 10, 8, 0.6);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(58, 170, 98, 0.1);
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo .b {
  color: var(--green);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(58, 170, 98, 0.4);
  padding: 8px 20px;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: rgba(58, 170, 98, 0.1);
  border-color: var(--green);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
}

.hero-content {
  max-width: 780px;
}

.hero-prompt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.hero-title .brace {
  color: var(--green);
  font-weight: 300;
}
.hero-title .accent {
  color: var(--green);
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.hero-desc {
  font-size: 13px;
  line-height: 2;
  color: rgba(200, 230, 210, 0.65);
  max-width: 520px;
  margin-bottom: 52px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.8s forwards;
}

.hero-desc .comment {
  color: var(--green-dim);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s ease 1s forwards;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #050a08;
  background: var(--green);
  padding: 14px 32px;
  border: none;
  cursor: none;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(58, 170, 98, 0.3);
}
.btn-primary:hover {
  background: #4dcc7a;
  box-shadow: 0 0 40px rgba(58, 170, 98, 0.5);
}

.btn-secondary {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  padding: 14px 32px;
  border: 1px solid rgba(58, 170, 98, 0.25);
  cursor: none;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  color: var(--green);
  border-color: rgba(58, 170, 98, 0.6);
}

/* ── HERO GLASS CARD (floating terminal) ── */
.hero-terminal {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  animation: fadeLeft 0.8s ease 1.2s forwards;
}

.terminal-bar {
  background: rgba(15, 30, 20, 0.8);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(58, 170, 98, 0.12);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.r {
  background: #ff5f57;
}
.dot.y {
  background: #febc2e;
}
.dot.g {
  background: #28c840;
}
.terminal-title {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-left: 8px;
}

.terminal-body {
  padding: 28px 28px 32px;
  font-size: 12px;
  line-height: 2;
}

.t-line {
  display: flex;
  gap: 10px;
}
.t-prompt {
  color: var(--green);
  flex-shrink: 0;
}
.t-cmd {
  color: var(--white);
}
.t-comment {
  color: var(--green-dim);
  font-style: italic;
}
.t-output {
  color: rgba(200, 230, 210, 0.5);
  padding-left: 20px;
}
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--green);
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

/* ── SERVICES ── */
.services {
  padding: 120px 60px;
}

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

.section-tag {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
}
.section-title .b {
  color: var(--green);
  font-weight: 300;
}

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

.service-card {
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(58, 170, 98, 0.3) inset;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 170, 98, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.card-num {
  font-size: 10px;
  color: var(--green-dim);
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}

.card-icon {
  font-size: 22px;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
  font-weight: 300;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 11px;
  line-height: 2;
  color: rgba(200, 230, 210, 0.5);
  font-weight: 300;
}

/* ── STATS BAR ── */
.stats {
  margin: 0 60px;
  border-radius: 16px;
  padding: 48px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(58, 170, 98, 0.08) 0%,
    transparent 50%,
    rgba(58, 170, 98, 0.04) 100%
  );
  pointer-events: none;
}

.stat {
  text-align: center;
}
.stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── EXPERTISE ── */
.expertise {
  padding: 120px 60px;
}
.expertise-intro {
  font-size: 13px;
  line-height: 2;
  color: rgba(200, 230, 210, 0.6);
  font-weight: 300;
  max-width: 640px;
  margin-top: 20px;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.exp-category {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.25s;
}
.exp-category.open {
  border-color: var(--glass-border);
}
.exp-header {
  background: rgba(10, 22, 15, 0.35);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: none;
  transition: background 0.2s;
}
.exp-header:hover {
  background: rgba(10, 22, 15, 0.55);
}
.exp-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.exp-icon {
  font-size: 14px;
  color: var(--green);
  font-weight: 300;
  flex-shrink: 0;
  min-width: 32px;
  white-space: nowrap;
}
.exp-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.exp-count {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2px;
}
.exp-chevron {
  font-size: 10px;
  color: var(--green-dim);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.exp-category.open .exp-chevron {
  transform: rotate(180deg);
}
.exp-body {
  display: none;
  padding: 0 28px 24px;
  background: rgba(10, 22, 15, 0.25);
}
.exp-category.open .exp-body {
  display: block;
}
.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
}
.exp-list li {
  font-size: 11px;
  color: rgba(200, 230, 210, 0.6);
  padding: 6px 0 6px 18px;
  position: relative;
  font-weight: 300;
  line-height: 1.6;
  border-bottom: 1px solid rgba(58, 170, 98, 0.05);
}
.exp-list li:last-child {
  border-bottom: none;
}
.exp-list li::before {
  content: "▸";
  color: var(--green-dim);
  position: absolute;
  left: 0;
  font-size: 9px;
  top: 8px;
}
.expertise-positioning {
  margin-top: 48px;
  border-radius: 16px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.expertise-positioning::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 170, 98, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.positioning-title {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.positioning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.positioning-tag {
  font-size: 11px;
  color: var(--white);
  background: rgba(58, 170, 98, 0.08);
  border: 1px solid rgba(58, 170, 98, 0.25);
  padding: 8px 16px;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .expertise {
    padding: 80px 24px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .exp-header {
    padding: 20px;
  }
  .exp-body {
    padding: 0 20px 20px;
  }
  .expertise-positioning {
    padding: 28px 24px;
  }
}

/* ── PROCESS ── */
.process {
  padding: 120px 60px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 60px;
}

.process-item {
  border-radius: 12px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 32px;
  cursor: none;
  transition: all 0.25s;
  border: 1px solid transparent;
}

.process-item:hover {
  border-color: var(--glass-border);
  background: rgba(10, 22, 15, 0.45);
  backdrop-filter: blur(20px);
}

.pi-num {
  font-size: 11px;
  color: var(--green-dim);
  letter-spacing: 2px;
  font-weight: 600;
}

.pi-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.pi-desc {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

.pi-tag {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  border: 1px solid rgba(58, 170, 98, 0.3);
  padding: 6px 14px;
  white-space: nowrap;
}

/* ── PROJECTS ── */
.projects {
  padding: 120px 60px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.project-card {
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 64px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(58, 170, 98, 0.3) inset;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(58, 170, 98, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.proj-num {
  font-size: 10px;
  color: var(--green-dim);
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}
.proj-icon {
  font-size: 20px;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
  font-weight: 300;
}
.proj-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.proj-subtitle {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.proj-desc {
  font-size: 11px;
  line-height: 1.9;
  color: rgba(200, 230, 210, 0.5);
  font-weight: 300;
  margin-bottom: 24px;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.proj-tag {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(58, 170, 98, 0.2);
  padding: 4px 10px;
}
.proj-cta {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    gap 0.2s;
}
.project-card:hover .proj-cta {
  opacity: 1;
  gap: 12px;
}

/* Drawer */
.proj-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 8, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.proj-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.proj-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  width: min(600px, 100vw);
  background: #070e09;
  border-left: 1px solid rgba(58, 170, 98, 0.18);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.proj-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid rgba(58, 170, 98, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  background: rgba(7, 14, 9, 0.95);
  backdrop-filter: blur(12px);
}
.drawer-close {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: none;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.drawer-close:hover {
  color: var(--green);
}
.drawer-body {
  padding: 40px;
}
.drawer-section {
  margin-bottom: 36px;
}
.drawer-section-title {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.drawer-text {
  font-size: 12px;
  line-height: 2;
  color: rgba(200, 230, 210, 0.65);
  font-weight: 300;
}
.drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-list li {
  font-size: 12px;
  color: rgba(200, 230, 210, 0.65);
  padding-left: 16px;
  position: relative;
  font-weight: 300;
}
.drawer-list li::before {
  content: "▸";
  color: var(--green);
  position: absolute;
  left: 0;
  font-size: 10px;
}
.drawer-divider {
  border: none;
  border-top: 1px solid rgba(58, 170, 98, 0.1);
  margin: 0 0 36px;
}
.drawer-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #050a08;
  background: var(--green);
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(58, 170, 98, 0.25);
}
.drawer-cta:hover {
  background: #4dcc7a;
  box-shadow: 0 0 36px rgba(58, 170, 98, 0.45);
}

@media (max-width: 768px) {
  .projects {
    padding: 80px 24px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card {
    padding: 28px 24px;
  }
  .drawer-header {
    padding: 24px;
  }
  .drawer-body {
    padding: 24px;
  }
}

/* ── CTA / CONTATO ── */
.cta-section {
  padding: 80px 60px 120px;
}

.cta-box {
  border-radius: 20px;
  padding: 80px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(58, 170, 98, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.cta-prompt {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-title .b {
  color: var(--green);
  font-weight: 300;
}
.cta-sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 32px;
}
.cta-email {
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(58, 170, 98, 0.3);
  padding-bottom: 4px;
}
.cta-direct {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 32px;
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-label {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white);
  background: rgba(5, 10, 8, 0.6);
  border: 1px solid rgba(58, 170, 98, 0.2);
  padding: 12px 16px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(74, 122, 90, 0.5);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(58, 170, 98, 0.6);
  box-shadow: 0 0 0 3px rgba(58, 170, 98, 0.08);
}
.form-select {
  cursor: none;
}
.form-select option {
  background: #0a160f;
  color: var(--white);
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #050a08;
  background: var(--green);
  padding: 14px 32px;
  border: none;
  cursor: none;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(58, 170, 98, 0.3);
  align-self: flex-start;
}
.form-submit:hover {
  background: #4dcc7a;
  box-shadow: 0 0 40px rgba(58, 170, 98, 0.5);
}

.form-note {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 40px 16px 80px;
  }
  .cta-box {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-submit {
    width: 100%;
    text-align: center;
  }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(58, 170, 98, 0.08);
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-size: 13px;
  font-weight: 700;
}
.footer-logo .b {
  color: var(--green);
  font-weight: 300;
}
.footer-copy {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(58, 170, 98, 0.2);
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover {
  color: var(--green);
  border-color: rgba(58, 170, 98, 0.6);
  background: rgba(58, 170, 98, 0.08);
}
.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  .cursor {
    display: none;
  }
  .btn-primary,
  .btn-secondary {
    cursor: pointer;
  }

  nav {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    padding: 7px 14px;
    font-size: 10px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 60px;
    min-height: auto;
    gap: 48px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(36px, 11vw, 56px);
  }
  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .hero-desc {
    font-size: 12px;
    max-width: 100%;
  }
  .hero-desc br {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
    padding: 14px 20px;
  }

  .hero-terminal {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    animation: fadeUp 0.8s ease 1.2s forwards;
  }
  .terminal-body {
    padding: 20px;
    font-size: 11px;
  }

  .stats {
    margin: 0 16px;
    padding: 32px 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .stat-num {
    font-size: 32px;
  }
  .stat-label {
    font-size: 9px;
  }

  .services {
    padding: 80px 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 28px 24px;
  }

  .process {
    padding: 80px 24px;
  }
  .process-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
  .pi-tag {
    display: none;
  }
  .pi-title {
    font-size: 14px;
  }
  .section-header {
    margin-bottom: 40px;
  }

  .cta-prompt {
    font-size: 9px;
    word-break: break-word;
  }
  .cta-title {
    font-size: clamp(24px, 8vw, 40px);
  }
  .cta-email {
    font-size: 12px;
    word-break: break-all;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 28px 24px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 32px;
  }
  .stat-num {
    font-size: 26px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translate(20px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* typewriter */
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: none;
}
.t-line:nth-child(1) .t-cmd {
  animation: type1 0.5s steps(20) 0.3s both;
  width: 0;
}
.t-line:nth-child(2) .t-output {
  animation: type2 0.8s steps(30) 1s both;
  width: 0;
}
.t-line:nth-child(3) .t-output {
  animation: type3 0.6s steps(25) 2s both;
  width: 0;
}
.t-line:nth-child(4) .t-output {
  animation: type4 0.5s steps(20) 2.8s both;
  width: 0;
}
.t-line:nth-child(5) .t-output {
  animation: type5 0.4s steps(15) 3.5s both;
  width: 0;
}
.t-line:nth-child(6) .t-cmd {
  animation: type6 0.4s steps(15) 4.2s both;
  width: 0;
}

@keyframes type1 {
  to {
    width: 100%;
  }
}
@keyframes type2 {
  to {
    width: 100%;
  }
}
@keyframes type3 {
  to {
    width: 100%;
  }
}
@keyframes type4 {
  to {
    width: 100%;
  }
}
@keyframes type5 {
  to {
    width: 100%;
  }
}
@keyframes type6 {
  to {
    width: 100%;
  }
}
