:root {
  --bg: #0f0e0c;            /* warm near-black */
  --fg: #ece6db;            /* warm off-white */
  --muted: #8a8378;         /* warm grey */
  --faint: #5b564e;
  --line: rgba(236, 230, 219, 0.12);
  --tile: #1a1815;
  --gutter: clamp(16px, 5vw, 104px);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--fg); }

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vh, 56px) var(--gutter) 0;
}

#comet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.grid, .footer { position: relative; z-index: 1; }

.grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 340px);
  justify-content: space-between;
  gap: 64px;
}

/* Profile */
.profile {
  display: flex;
  align-items: center;
  gap: 28px;
}
.avatar {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.06) brightness(0.95) sepia(0.06);
}
.name {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.role, .label, .footer, .handle {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
.role {
  margin-top: 4px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Text */
.intro, .body {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}
.intro { margin-top: 40px; }
.block { margin-top: 44px; }
.label {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Socials */
.socials { list-style: none; display: grid; gap: 18px; }
.socials li { display: flex; align-items: center; gap: 14px; }
.socials a { display: flex; align-items: center; gap: 14px; }
.icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.icon svg { width: 17px; height: 17px; fill: var(--fg); transition: fill 0.25s ease; }
.link-text {
  font-size: 19px;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 1px;
  transition: border-color 0.25s ease;
}
.socials a:hover .icon { background: var(--fg); border-color: var(--fg); }
.socials a:hover .icon svg { fill: var(--bg); }
.socials a:hover .link-text { border-color: var(--fg); }
.dash { width: 18px; height: 1px; background: var(--faint); }
.handle { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }

/* Right column */
.right { padding-top: 4px; }
.product { display: flex; align-items: center; gap: 16px; }
.product-icon {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.product-icon svg {
  width: 26px; height: 26px;
  fill: var(--fg);
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
  50% { opacity: 0.45; transform: scale(0.85) rotate(15deg); }
}
.product-title { font-size: 19px; }
.product-note {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}.sep { color: var(--faint); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 8px rgba(240, 228, 208, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

/* Footer */
.footer {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; gap: 0; }
  .right { padding-top: 96px; } /* room for the comet's arc */
}
@media (max-width: 520px) {
  .avatar { width: 112px; height: 112px; }
  .intro, .body, .link-text, .product-title { font-size: 17px; }
  .handle { display: none; }
  .dash { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dot, .product-icon svg { animation: none; }
}
