:root {
  color-scheme: light;
  --ink: #ffffff;
  --soft-ink: rgba(255, 255, 255, 0.84);
  --nav: rgba(224, 236, 248, 0.42);
  --nav-line: rgba(255, 255, 255, 0.32);
  --dark: #17191d;
  --paper: rgba(255, 255, 255, 0.92);
  --paper-line: rgba(20, 24, 28, 0.18);
  --muted: #71777f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #8bb8dc url("assets/hero-sky-v2.png") center / cover no-repeat fixed;
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(73, 118, 161, 0.1), rgba(97, 145, 184, 0.18) 56%, rgba(255, 205, 213, 0.14)),
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.22), transparent 26rem);
}

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

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1rem, 4vw, 3rem);
}

.glass-nav {
  display: flex;
  width: min(100%, 980px);
  min-height: 4.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem 0.6rem 1.6rem;
  margin: 0 auto;
  border: 1px solid var(--nav-line);
  border-radius: 999px;
  background: var(--nav);
  box-shadow: 0 18px 70px rgba(36, 72, 105, 0.18);
  backdrop-filter: blur(22px) saturate(135%);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-style: italic;
  letter-spacing: 0;
  text-shadow: 0 1px 20px rgba(62, 94, 123, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 2vw, 1.5rem);
}

.nav-links a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  padding: 0 0.6rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1.8vw, 1.04rem);
  font-weight: 720;
  text-shadow: 0 1px 18px rgba(30, 60, 90, 0.2);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.nav-links .nav-button {
  min-width: 4.3rem;
  justify-content: center;
  padding: 0 1.1rem;
  background: var(--dark);
  color: #fff;
  text-shadow: none;
}

.hero {
  display: flex;
  max-width: 980px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 9vh, 5.5rem) 0 clamp(2rem, 5vh, 4rem);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 11vw, 8.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 10px 50px rgba(58, 92, 124, 0.32);
}

.lede {
  max-width: 56rem;
  margin: 1.45rem 0 2.9rem;
  color: var(--soft-ink);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.34;
  text-wrap: balance;
  text-shadow: 0 6px 32px rgba(55, 91, 124, 0.25);
}

.prompt-box {
  display: grid;
  width: min(100%, 760px);
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(54, 83, 110, 0.22);
  text-align: left;
}

.project-link {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #1f252b;
  background: rgba(255, 255, 255, 0.58);
  transition:
    background 170ms ease,
    border-color 170ms ease,
    transform 170ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  border-color: rgba(31, 37, 43, 0.16);
  background: #fff;
  outline: none;
  transform: translateY(-1px);
}

.project-link strong,
.project-link small {
  display: block;
}

.project-link strong {
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 780;
  line-height: 1.1;
}

.project-link small {
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: clamp(0.83rem, 2vw, 0.95rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.arrow {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 37, 43, 0.2);
  border-radius: 999px;
  color: #6c737b;
  font-size: 1.25rem;
}

footer {
  display: flex;
  width: min(100%, 980px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 720;
  text-shadow: 0 4px 22px rgba(45, 74, 100, 0.26);
}

footer a {
  color: #fff;
}

@media (max-width: 720px) {
  body {
    background-position: center bottom;
    background-attachment: scroll;
  }

  .page {
    padding: 0.9rem;
  }

  .glass-nav {
    min-height: auto;
    padding: 0.65rem;
    border-radius: 24px;
  }

  .nav-links a:not(.nav-button) {
    display: none;
  }

  .hero {
    min-height: 70vh;
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6.4rem);
  }

  .lede {
    margin-bottom: 2rem;
  }

  .prompt-box {
    padding: 0.55rem;
  }

  .project-link {
    min-height: 4.65rem;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0 0.2rem;
  }
}
