:root {
  --ink: #080911;
  --ink-soft: #111322;
  --paper: #f2efe8;
  --muted: #a7a9b7;
  --line: rgba(255, 255, 255, 0.14);
  --blue: #5568ff;
  --blue-bright: #7d8aff;
  --amber: #ffb547;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Geist", Arial, sans-serif;
}

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

::selection { background: var(--blue); color: white; }

main {
  min-height: 100svh;
  padding: 72px 20px 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(85,104,255,.24), transparent 35%),
    linear-gradient(145deg, #090a13 0%, #111329 55%, #090a13 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ambient {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one { width: 720px; height: 720px; top: -330px; left: 50%; transform: translateX(-50%); }
.ambient-two { width: 520px; height: 520px; top: -230px; left: 50%; transform: translateX(-50%); }

.link-card { width: min(100%, 630px); margin: 0 auto; position: relative; z-index: 1; }

.profile { text-align: center; display: flex; flex-direction: column; align-items: center; }

.wordmark {
  position: absolute;
  top: -38px;
  left: 0;
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -.1em;
}

.wordmark span { color: var(--amber); }

.portrait-wrap {
  width: 112px;
  height: 112px;
  position: relative;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--amber), var(--blue));
  box-shadow: 0 0 0 8px rgba(255,255,255,.045), 0 20px 55px rgba(0,0,0,.3);
  overflow: visible;
  transform: rotate(-3deg);
}

.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: grayscale(1) contrast(1.05); }

.online {
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ink-soft);
  border-radius: 50%;
  background: #56db93;
  box-shadow: 0 0 0 5px rgba(86,219,147,.11);
}

.eyebrow {
  margin: 25px 0 0;
  color: #c3c4cf;
  font-family: "Geist Mono", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-size: clamp(2.8rem, 11vw, 4.4rem);
  font-weight: 550;
  line-height: .95;
  letter-spacing: -.065em;
}

.intro { max-width: 480px; margin: 17px 0 0; color: #c4c4ce; font-size: 1rem; line-height: 1.55; }

.link-list { display: grid; gap: 11px; margin-top: 42px; }

.link-item {
  min-height: 88px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 34px 1fr 40px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(17,19,34,.72);
  backdrop-filter: blur(16px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.link-item:hover, .link-item:focus-visible { transform: translateY(-3px); border-color: rgba(125,138,255,.65); background: rgba(24,27,49,.92); outline: none; }
.link-item.featured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.link-item.featured:hover, .link-item.featured:focus-visible { background: white; border-color: white; }
.link-item.accent { border-color: rgba(255,181,71,.38); background: rgba(255,181,71,.075); }
.link-item.accent:hover, .link-item.accent:focus-visible { border-color: var(--amber); background: rgba(255,181,71,.12); }
.link-item.accent .link-number { color: var(--amber); }

.link-number { align-self: start; padding-top: 3px; color: var(--blue-bright); font-family: "Geist Mono", monospace; font-size: .66rem; }
.featured .link-number { color: #4c5ce4; }
.link-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.link-copy strong { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.link-copy small { color: var(--muted); font-size: .79rem; line-height: 1.35; }
.featured .link-copy small { color: #5e606b; }
.arrow { width: 38px; height: 38px; display: grid; place-items: center; justify-self: end; border: 1px solid currentColor; border-radius: 50%; font-size: .95rem; transition: transform .22s ease; }
.link-item:hover .arrow { transform: rotate(12deg); }

.video-card { margin-top: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(17,19,34,.72); backdrop-filter: blur(16px); }
.video-heading { padding: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.video-heading .eyebrow { margin: 0 0 9px; color: var(--blue-bright); }
.video-heading h2 { margin: 0; max-width: 370px; font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.video-heading > a { flex: 0 0 auto; color: #d6d6df; font-size: .72rem; }
.video-heading > a span { color: var(--amber); margin-left: 3px; }
.video-heading > a:hover, .video-heading > a:focus-visible { color: white; outline: none; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #03040a; border-top: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.connect { margin-top: 38px; padding: 28px 2px 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.connect .eyebrow { margin: 0 0 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 1px; border-radius: 50%; background: #56db93; box-shadow: 0 0 0 5px rgba(86,219,147,.11); }
.email { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: clamp(1.5rem, 7vw, 2.25rem); font-weight: 500; letter-spacing: -.045em; }
.email span { color: var(--amber); transition: transform .2s ease; }
.email:hover span { transform: rotate(12deg); }

footer { padding: 24px 2px 0; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; color: #d6d6df; border: 1px solid var(--line); border-radius: 50%; background: rgba(17,19,34,.55); font-size: 1rem; transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease; }
.socials a:hover, .socials a:focus-visible { color: var(--ink); border-color: var(--amber); background: var(--amber); transform: translateY(-2px); outline: none; }
.socials a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
footer p { margin: 18px 0 0; font-family: "Geist Mono", monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 520px) {
  main { padding: 64px 14px 30px; }
  .wordmark { left: 5px; }
  .portrait-wrap { width: 96px; height: 96px; }
  .link-list { margin-top: 34px; }
  .link-item { min-height: 82px; padding: 14px; grid-template-columns: 28px 1fr 38px; gap: 8px; }
  .link-copy small { font-size: .74rem; }
  .video-heading { padding: 16px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .email { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
