@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&family=Libre+Caslon+Text:wght@400;700&display=swap");

:root {
  --bg: #120c08;
  --surface: rgba(18, 12, 8, 0.18);
  --surface-strong: rgba(12, 8, 5, 0.42);
  --paper: #f2e0c7;
  --paper-soft: rgba(242, 224, 199, 0.78);
  --paper-muted: rgba(242, 224, 199, 0.56);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--paper);
  font-family: var(--sans);
  background: var(--bg);
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

.page {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, 0.18) 0%, rgba(10, 7, 5, 0.46) 48%, rgba(5, 3, 2, 0.88) 100%),
    radial-gradient(circle at 50% 42%, rgba(120, 74, 30, 0.16) 0%, rgba(26, 15, 8, 0.08) 24%, rgba(8, 5, 3, 0.58) 75%, rgba(5, 3, 2, 0.92) 100%),
    url("/images/Einstein_talking_to_a_robot_Realistic_image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  filter: saturate(0.86) contrast(0.98) brightness(0.76);
  transform: scale(1.02);
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 226, 188, 0.10) 0%, rgba(255, 226, 188, 0.03) 22%, transparent 46%),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(3, 2, 1, 0.22) 72%, rgba(3, 2, 1, 0.72) 100%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.1rem, 2.8vw, 2rem) clamp(1rem, 3.2vw, 2.8rem) 0;
  position: relative;
  z-index: 1;
}

.menu-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  line-height: 1;
  cursor: pointer;
  opacity: 0.95;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem);
}

.hero__content {
  text-align: center;
  width: min(100%, 56rem);
  padding: clamp(1rem, 3vw, 1.75rem) 0;
}

.hero__title {
  margin: 10 0 0 0;
  font-family: var(--serif);
  font-weight: 400;
  color: #f5e2c4;
  font-size: clamp(3.2rem, 8.2vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero__divider {
  width: clamp(4.25rem, 12vw, 5.5rem);
  height: 1px;
  margin: clamp(1.2rem, 2.6vw, 1.7rem) auto clamp(1rem, 2vw, 1.25rem);
  background: rgba(245, 226, 196, 0.45);
}

.hero__subtitle {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  line-height: 1.3;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--paper-soft);
  padding-left: 0.42em;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1.1rem, 3vw, 2rem);
}

.footer__brand {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 240, 214, 0.98);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.8rem);
}

.footer__link {
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.9vw, 0.98rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 230, 209, 0.9);
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--paper);
  transform: translateY(-1px);
  outline: none;
}

.footer__copyright {
  margin: 0;
  max-width: 30rem;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1.5vw, 0.85rem);
  line-height: 1.55;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(214, 197, 175, 0.52);
  text-align: center;
}

@media (max-width: 700px) {
  .topbar {
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .menu-button {
    width: 2rem;
    height: 2rem;
    font-size: 1.8rem;
  }

  .brand {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .hero {
    padding-top: 0;
    padding-bottom: 0.75rem;
  }

  .hero__content {
    padding-top: 0;
    transform: translateY(-0.25rem);
  }

  .hero__title {
    font-size: clamp(2.8rem, 17vw, 4.25rem);
  }

  .hero__subtitle {
    letter-spacing: 0.34em;
  }

  .footer {
    gap: 0.8rem;
    padding-bottom: 1.35rem;
  }

  .footer__nav {
    gap: 1rem 1.6rem;
  }

  .footer__copyright {
    max-width: 22rem;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand {
    font-size: 2rem;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(2.5rem, 18vw, 3.35rem);
  }

  .hero__divider {
    margin-top: 1rem;
    margin-bottom: 0.85rem;
  }

  .hero__subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
  }

  .footer__brand {
    font-size: 0.92rem;
    letter-spacing: 0.18em;
  }

  .footer__link {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }
}
