/* =========================
   BASE RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========================
   GRID BACKGROUND
========================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 140px 140px;
  pointer-events: none;
  opacity: 0.35;
}

/* =========================
   NAV
========================= */

.nav {
  position: fixed;
  top: 22px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
}

.brand {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
}

.about, .back {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.about:hover,
.back:hover {
  background: rgba(255,255,255,0.08);
}

/* =========================
   LAYOUT
========================= */

section {
  max-width: 780px;
  margin: auto;
  padding: 140px 24px;
  text-align: center;
}

/* =========================
   HOME PAGE
========================= */

.logo {
  font-size: 220px;
  font-weight: 300;
  line-height: 1;
  position: relative;
  display: inline-block;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f5f5 10%,
    #444444 24%,
    #ffffff 26%,
    #e0e0e0 45%,
    #222222 65%,
    #ffffff 78%,
    #999999 90%,
    #ffffff 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter:
    drop-shadow(0 2px 1px rgba(255,255,255,0.35))
    drop-shadow(0 -1px 1px rgba(0,0,0,0.8))
    drop-shadow(0 15px 30px rgba(0,0,0,0.95));
}

.logo::after {
  content: "λ";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 33%,
    rgba(235,245,255,1) 45%,
    rgba(120,200,255,1) 48%,
    rgba(0,170,255,1) 50%,
    rgba(90,220,255,0.9) 52%,
    rgba(160,220,255,0.5) 55%,
    rgba(120,180,255,0) 60%,
    transparent 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-size: 200% 100%;
  animation: sweep 4s linear infinite;

  mix-blend-mode: screen;

  filter: drop-shadow(0 0 14px rgba(0,180,255,0.45));
}

@keyframes sweep {
  0% { background-position: -160% 0; }
  100% { background-position: 160% 0; }
}

h1 {
  font-size: 86px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1.5px;
}

.divider {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin: 36px auto;
}

p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 18px auto 0;
}

.contact {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
}

/* =========================
   ABOUT PAGE
========================= */

.about-h1 {
  font-size: 64px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1.2px;
}

.research {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
}

.left {
  flex: 0 0 220px;
  text-align: right;
  font-size: 18px;
  color: #fff;
}

.right {
  flex: 1;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .logo {
    font-size: 160px;
  }

  h1 {
    font-size: 64px;
  }

  section {
    padding: 120px 20px;
  }

  .row {
    gap: 40px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .logo {
    font-size: 110px;
  }

  h1 {
    font-size: 44px;
  }

  section {
    padding: 100px 18px;
  }

  .nav {
    top: 16px;
    left: 16px;
  }

  .row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .left,
  .right {
    text-align: center;
    flex: none;
    max-width: 100%;
  }

  p {
    font-size: 16px;
  }
}