@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-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;
}

:root {
  --bg: #19161f;
  --bg-raised: #24202e;
  --fg: #fbfbfb;
  --fg-dim: #9c9c9c;
  --accent: #0ed3fe;
  --accent-dim: #0ed3fe26;
  --glow-1: #0ed3fe22;
  --glow-2: #885bff2e;
  --border: #3a3544;
  --violet: #885bff;
  --max-width: 46rem;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

/* soft ambient glow behind the top of the page, pure CSS, no JS */
body::before {
  content: "";
  position: absolute;
  top: -12rem;
  left: 50%;
  width: 70rem;
  height: 45rem;
  transform: translateX(-50%);
  background:
    radial-gradient(38rem 26rem at 30% 20%, var(--glow-1), transparent 60%),
    radial-gradient(30rem 22rem at 75% 10%, var(--glow-2), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: #6be4ff;
}

img {
  max-width: 100%;
}

/* header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--fg);
}

.brand-mark {
  border-radius: 6px;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--fg-dim);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--fg);
}

/* main content */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 1.1rem;
  padding-top: 2.75rem;
}

h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  margin-bottom: 1.5rem;
}

p,
ul,
ol {
  color: var(--fg-dim);
}

strong {
  color: var(--fg);
  font-weight: 600;
}

/* hero */

.hero {
  text-align: center;
  padding: 4.5rem 0 3rem;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-tagline {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  max-width: 36rem;
  margin: 0 auto;
  color: var(--fg);
}

/* project cards */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.project-card {
  display: block;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-raised);
  color: var(--fg);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px var(--accent-dim);
}

.project-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.project-card p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.95rem;
}

/* contact links */

.contact-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-links a:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--fg);
}

/* footer */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: 0.88rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.footer-mark {
  border-radius: 6px;
  opacity: 0.9;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-identity strong {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-identity span {
  font-size: 0.85rem;
}

.footer-note {
  max-width: 30rem;
  margin: 0 0 1rem;
  color: inherit;
}

.footer-copy {
  margin: 0;
  color: var(--fg-dim);
  opacity: 0.8;
}

@media (max-width: 30rem) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .projects {
    grid-template-columns: 1fr;
  }
}
