:root {
  --bg: oklch(0.16 0.006 270);
  --bg-2: oklch(0.185 0.007 270);
  --surface: oklch(0.205 0.008 270);
  --surface-hover: oklch(0.235 0.01 272);
  --border: oklch(0.30 0.01 272);
  --border-soft: oklch(0.26 0.009 272);
  --text: oklch(0.96 0.004 270);
  --text-2: oklch(0.74 0.008 272);
  --text-3: oklch(0.58 0.01 272);
  --accent: oklch(0.66 0.19 282);
  --accent-2: oklch(0.70 0.17 250);
  --accent-soft: color-mix(in oklab, var(--accent) 15%, transparent);
  --accent-bright: color-mix(in oklab, var(--accent) 74%, white);
  --radius: 14px;
  --col: 600px;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

.aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 420px at 50% -8%, var(--accent-soft), transparent 70%),
    radial-gradient(520px 360px at 88% 4%, color-mix(in oklab, var(--accent-2) 11%, transparent), transparent 72%);
  opacity: 1;
}

.aura::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(680px 520px at 50% 0%, black, transparent 75%);
}
.aura.no-grid::after { display: none; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: clamp(64px, 12vh, 132px) 0px 0px;
}

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}
.monogram {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text);
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.05) inset, 0 6px 18px oklch(0 0 0 / 0.35);
}
.status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--text-2);
  white-space: nowrap;
  padding: 6px 11px 6px 9px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.015);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.78 0.16 155);
  box-shadow: 0 0 0 0 oklch(0.78 0.16 155 / 0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.16 155 / 0.5); }
  70% { box-shadow: 0 0 0 6px oklch(0.78 0.16 155 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.16 155 / 0); }
}

h1 {
  font-size: clamp(30px, 6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.role {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 6px;
}
.role b { color: var(--text); font-weight: 500; }
.loc {
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.loc svg { width: 13px; height: 13px; opacity: 0.8; }

.blurb {
  margin-top: 26px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.62;
  text-wrap: pretty;
  max-width: 44ch;
}

/* motto */
.motto {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 15px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.55;
  text-wrap: pretty;
}

/* tech chips */
.tech {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--text-2);
  padding: 5px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: oklch(1 0 0 / 0.012);
}

/* ---------- Links ---------- */
.links {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .22s ease, background .22s ease, transform .22s ease;
}
.link::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.link:hover {
  border-color: var(--border);
  background: var(--surface-hover);
  transform: translateY(-1px);
}
.link:hover::before { transform: scaleY(1); }
.link:active { transform: translateY(0); }

.l-icon {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--border-soft);
  color: var(--text);
  transition: background .22s ease, color .22s ease;
}
.link:hover .l-icon { background: var(--accent-soft); color: var(--accent-bright); }
.l-icon svg { width: 18px; height: 18px; }

.l-body { display: flex; flex-direction: column; min-width: 0; }
.l-name { font-size: 15px; font-weight: 500; }
.l-meta {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-arrow {
  margin-left: auto;
  flex: none;
  color: var(--text-3);
  transition: transform .25s ease, color .22s ease;
}
.link:hover .l-arrow { color: var(--text); transform: translate(3px, -3px); }
.l-arrow svg { width: 16px; height: 16px; display: block; }

/* email special: copy state */
.link[data-copy] .l-arrow .copy-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: oklch(0.80 0.15 155);
  opacity: 0;
  transition: opacity .2s ease;
  position: absolute;
  right: 17px;
}
.link.copied .l-arrow svg { opacity: 0; }
.link.copied .copy-label { opacity: 1; }

footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--text-3);
}
footer a { color: var(--text-3); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--text-2); }

@media (max-width: 520px) {
  .wrap { padding: clamp(30px, 0vh, 132px) 20px 20px; }
  .l-meta { display: none; }
}
