@import url("https://use.typekit.net/rjy0nds.css");

/* Reset & base */

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

:root {
  --bg: #050811;
  --bg-gradient: #272727;
  --border-soft: rgba(255, 255, 255, 0.06);
  --text-main: #f5f7ff;
  --text-muted: #8b98b9;
  --accent-blue: #a2d8ff;
  --accent-gold: #f3d38f;
  --accent-lavender: #b2b8ff;
  --accent-green: #87db9a;
  --accent-coral: #ffb4a6;
  --link-highlight-shadow: rgba(62, 229, 255, 0.6);
  --shadow-soft: 0 3px 3px rgba(0, 0, 0, 0.65);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: roboto-mono, Consolas, SFMono-Regular, Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
  background-color: var(--bg);
  background-image: radial-gradient(circle at top, var(--bg-gradient) 0, var(--bg) 55%);
  color: var(--text-main);
}

/* Layout */

.page {
  min-height: 100vh;
  /* min-height: 520px; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Card */

.card {
  width: 100%;
  max-width: 520px;
}

/* Card body */

.card-body {
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 1.4rem 1.6rem 1.6rem;
  background-image:
    radial-gradient(circle at 0% 0%,    rgba( 62, 229, 255, 0.10) 0, transparent 40%),  /* cyan */
    radial-gradient(circle at 70% 0%,  rgba(130, 73, 223, 0.1) 0, transparent 30%),  /* purple */
    radial-gradient(circle at 100% 100%,rgba(255, 110, 199, 0.08) 0, transparent 40%),  /* pink */
    radial-gradient(circle at 30% 100%,  rgba(245, 196, 107, 0.08) 0, transparent 40%);  /* gold */
}

.name {
  font-size: 1.85rem;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  font-weight: normal;
  color: var(--accent-blue);
}

.role,
.location {
  font-family: ibm-plex-mono, roboto-mono, Consolas, SFMono-Regular, Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
  margin: 0 0 1rem;
  letter-spacing: 0.06em;
  font-size: 1.0rem;
  font-weight: 400;
  position: relative;
  padding-left: 1.2rem; /* space for the > */
}

.role::before,
.location::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-coral);
}

.role {
  color: var(--accent-gold);
}

.location {
  color: var(--accent-lavender);
}



/* Divider */

.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0 0 1rem;
}

/* Info row */

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  font-size: 0.9rem;
  margin: 0;
}

.info-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Link */

.link-inline {
  color: var(--accent-green);
  text-decoration: none;
}

.link-inline:hover,
.link-inline:focus-visible {
  text-shadow: 0 0 10px var(--link-highlight-shadow);
}

.link-inline:focus-visible {
  outline: 1px solid var(--accent-green);
  outline-offset: 2px;
}

/* Small screens */

@media (max-width: 480px) {
  .card {
    border-radius: 12px;
  }

  .card-body {
    padding: 1.1rem 1.2rem 1.3rem;
  }

  .name {
    font-size: 1.4rem;
  }
}

@media (max-height: 420px) {
  .page {
    min-height: 420px;
  }
}

/* Hidden easter egg image */
.easteregg-wrapper {
  position: relative;
}

/* Invisible interactive area in the top-right corner above the card */
.easteregg-trigger {
  position: absolute;
  top: -85px;
  right: 15px;
  width: 90px;
  height: 90px;
  z-index: 2;
}

.easteregg-img {
  position: absolute;
  top: -101px;
  right: 20px;
  height: 132px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 5s ease-in;
}

/* Desktop / pointer devices: fade in on hover of the hotspot */
@media (hover: hover) and (pointer: fine) {
  .easteregg-trigger:hover + .easteregg-img {
    opacity: 0.4;
  }
}

/* Mobile / touch devices: use a toggled class instead of hover */
.easteregg-img.is-visible {
  opacity: 0.4;
}