/* ============================================================
   Uplift City - premium dark / builder aesthetic
   No build step. Hand-written CSS.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-1: #0d0d0d;
  --surface: #131313;
  --surface-2: #181818;
  --border: #242424;
  --border-2: #2e2e2e;
  --text: #ededed;
  --muted: #9a9a9a;
  --muted-2: #6b6b6b;
  --accent: #00ff9c;
  --accent-dim: #00cc7d;
  --accent-glow: rgba(0, 255, 156, 0.14);

  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------- reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* clean rectangular grid + depth vignette (bolder) */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(130% 120% at 50% 36%, #141414 0%, #0a0a0a 47%, #040404 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  background-attachment: scroll, scroll, fixed;
}

::selection { background: var(--accent); color: #04130c; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ----------------------------- nav ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; color: var(--text);
}
.brand .mark { width: 20px; height: 20px; fill: var(--accent); flex: none; }
.brand--sm { font-size: .9rem; }

.nav__links {
  display: flex; gap: 1.6rem; margin-left: auto;
  font-family: var(--mono); font-size: .82rem; color: var(--muted);
}
.nav__links a { position: relative; transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 0; }

/* ----------------------------- buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: .85rem; font-weight: 600;
  padding: .62rem 1.15rem; border-radius: 10px;
  border: 1px solid var(--border-2); cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid {
  background: var(--accent); color: #04130c; border-color: var(--accent);
}
.btn--solid:hover { background: var(--accent-dim); border-color: var(--accent-dim); box-shadow: 0 0 0 4px var(--accent-glow); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: .85rem 1.6rem; font-size: 1rem; }

/* ----------------------------- hero ----------------------------- */
.hero {
  position: relative;
  padding-top: clamp(4.5rem, 12vh, 8rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.hero::before {
  /* subtle accent glow, very low opacity */
  content: ""; position: absolute; top: -10%; left: 50%;
  width: min(880px, 92vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-glow), transparent 70%);
  filter: blur(20px); pointer-events: none; z-index: -1; opacity: .9;
}
.eyebrow {
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.hero__title {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 4rem); line-height: 1.08;
  letter-spacing: -0.02em; color: #fff;
}
.cursor {
  display: inline-block; width: .56ch; height: 1.02em; margin-left: .12em;
  vertical-align: -0.12em; background: var(--accent); animation: blink 1.05s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__lead {
  max-width: 56ch; margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__note {
  margin-top: 2rem; font-family: var(--mono); font-size: .82rem;
  color: var(--muted-2); display: flex; align-items: center; gap: .55rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(0,255,156,0.05); } }

/* ----------------------------- sections ----------------------------- */
.section { padding-block: clamp(3.5rem, 9vh, 6rem); }
.section__head { margin-bottom: clamp(2rem, 5vh, 3rem); }
.section__head h2 {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.15;
  letter-spacing: -0.02em; color: #fff; max-width: 22ch;
}
.section__sub { margin-top: 1rem; color: var(--muted); max-width: 60ch; }

/* ----------------------------- grids & cards ----------------------------- */
.grid { display: grid; gap: 1.1rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-1));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.card__num {
  font-family: var(--mono); font-size: .8rem; color: var(--accent);
  letter-spacing: .1em;
}
.card h3 {
  font-family: var(--mono); font-weight: 600; font-size: 1.18rem;
  margin: .7rem 0 .55rem; color: #fff;
}
.card p { color: var(--muted); font-size: .96rem; }

/* ----------------------------- contact ----------------------------- */
.contact { text-align: center; }
.contact .eyebrow { display: block; }
.contact__title { font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: -0.02em; color: #fff; margin-inline: auto; max-width: 18ch; }
.contact__lead { margin: 1.1rem auto 2rem; color: var(--muted); max-width: 48ch; font-size: 1.08rem; }
.contact__note { margin-top: 1.6rem; font-family: var(--mono); font-size: .82rem; color: var(--muted-2); }

/* ----------------------------- footer ----------------------------- */
.footer { padding-block: 2.2rem; }
.footer__inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer__mail { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin-left: auto; transition: color .2s ease; }
.footer__mail:hover { color: var(--accent); }
.footer__copy { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); }

/* ----------------------------- reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 880px) {
  .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 460px) {
  .hero__cta .btn { flex: 1 1 auto; }
}
