:root {
  --bg: #07070b;
  --bg-elevated: #101018;
  --ink: #f4f4f7;
  --muted: #9a9aab;
  --chrome: #c8ccd6;
  --chrome-dim: #8a8f9c;
  --violet: #6b5cff;
  --violet-deep: #3d2fd6;
  --blue: #4b8bff;
  --line: rgba(200, 204, 214, 0.14);
  --radius: 18px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Chrome + violet glow backdrop */
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -10%, rgba(107, 92, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 10%, rgba(75, 139, 255, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 90%, rgba(107, 92, 255, 0.12), transparent 60%);
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0 0.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  background: linear-gradient(120deg, #fff 10%, var(--chrome) 45%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 span {
  background: linear-gradient(115deg, #ffffff 0%, var(--chrome) 35%, var(--violet) 70%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(107, 92, 255, 0.28);
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: rgba(200, 204, 214, 0.35); }

.photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(200,204,214,0.08), rgba(107,92,255,0.08) 45%, rgba(7,7,11,0.9)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(200,204,214,0.03) 10px,
      rgba(200,204,214,0.03) 20px
    );
  display: grid;
  place-items: center;
  color: var(--chrome-dim);
  text-align: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  pointer-events: none;
}

.photo-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-hint {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.section {
  padding: 1.25rem 0 3.25rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.section-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.7rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.card-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--chrome);
  font-weight: 600;
}

.card-link:hover { color: #fff; }

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.meta {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.meta strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-band {
  margin: 0.5rem 0 3rem;
  padding: 1.5rem 1.6rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(107,92,255,0.16), rgba(75,139,255,0.08) 40%, transparent 70%),
    var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-band p {
  color: var(--muted);
  max-width: 28rem;
}

.contact-band strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a { color: var(--chrome); }
.site-footer a:hover { color: #fff; }

/* Links page */
.links-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.links-main {
  flex: 1;
  width: min(420px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(200,204,214,0.15), rgba(107,92,255,0.25));
  display: grid;
  place-items: center;
  color: var(--chrome-dim);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.links-main h1 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.links-main .bio {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.link-list {
  display: grid;
  gap: 0.75rem;
}

.link-item {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.link-item:hover {
  border-color: rgba(107, 92, 255, 0.55);
  background: rgba(107, 92, 255, 0.1);
  transform: translateY(-1px);
}

.link-item small {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}

.links-home {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--chrome);
  font-size: 0.9rem;
}

.links-home:hover { color: #fff; }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.25rem 0 2rem;
    gap: 1.75rem;
  }
  .photo-slot {
    max-width: 320px;
    margin-inline: auto;
    width: 100%;
  }
  .cards, .meta-strip {
    grid-template-columns: 1fr;
  }
  .nav { gap: 0.9rem; font-size: 0.85rem; }
  .contact-band { align-items: flex-start; }
}
