* { box-sizing: border-box; }

:root {
  --bg: #070a12;
  --panel: rgba(17, 24, 39, .64);
  --line: rgba(255,255,255,.09);
  --text: #f5f7fb;
  --muted: #929cad;
}

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(82, 89, 255, .17), transparent 28rem),
    radial-gradient(circle at 85% 35%, rgba(0, 214, 201, .12), transparent 30rem),
    radial-gradient(circle at 50% 100%, rgba(186, 68, 255, .10), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 70px 0 50px;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #62e6d5;
  box-shadow: 0 0 18px rgba(98,230,213,.75);
}

.status {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  max-width: 830px;
  margin-bottom: 64px;
}

.eyebrow {
  color: #7ee8dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(52px, 8vw, 94px);
  line-height: .93;
  letter-spacing: -.065em;
  margin: 0;
  font-weight: 750;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 10%, #9ca9bd 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.intro {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: #aab3c1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project {
  --accent: 126, 232, 220;

  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;

  color: inherit;
  text-decoration: none;

  background:
    linear-gradient(135deg, rgba(var(--accent), .07), transparent 45%),
    var(--panel);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.project::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(var(--accent), .14);
  filter: blur(35px);
  transition: .25s ease;
}

.project:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent), .42);
  background:
    linear-gradient(135deg, rgba(var(--accent), .11), transparent 50%),
    rgba(20,28,43,.78);
}

.project:hover::before {
  transform: scale(1.25);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent), .25);
  background: rgba(var(--accent), .09);
  color: rgb(var(--accent));
  font-size: 20px;
  font-weight: 800;
}

.arrow {
  color: #7e8999;
  font-size: 22px;
  transition: transform .2s ease, color .2s ease;
}

.project:hover .arrow {
  transform: translate(3px,-3px);
  color: rgb(var(--accent));
}

.project h2 {
  position: relative;
  margin: 36px 0 8px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.project p {
  position: relative;
  margin: 0;
  max-width: 440px;
  color: var(--muted);
  line-height: 1.55;
}


.message {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--panel);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #626d7d;
  font-size: 12px;
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1180px);
    padding-top: 32px;
  }

  nav { margin-bottom: 65px; }

  .status { display: none; }

  .hero { margin-bottom: 48px; }

  h1 { font-size: clamp(48px, 16vw, 70px); }

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

  .project { min-height: 200px; }

  footer { flex-direction: column; }
}
