:root {
  --bg: #222426;
  --text: #e9e9ea;
  --muted: rgba(233, 233, 234, 0.6);
  --muted-2: rgba(233, 233, 234, 0.45);
  --link: #0a66c2;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

/* Top bar */
header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 88px;
  display: flex;
  align-items: center;
  padding: 0 56px;
  pointer-events: none;
}

header .name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.2px;
  pointer-events: auto;
}

/* Main content */
main {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 128px 24px 64px;
}

.content {
  width: min(980px, 92vw);
  text-align: left;
}

.kicker {
  text-align: left;
  color: var(--muted-2);
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 26px 0;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.social {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.linkedin {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
}

.linkedin svg {
  display: block;
}

footer {
  position: fixed;
  inset: auto 0 34px 0;
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 18px;
}

.footer-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 520px) {
  header {
    padding: 0 22px;
    height: 76px;
  }

  header .name {
    font-size: 22px;
  }

  .kicker {
    font-size: 22px;
    margin-bottom: 18px;
  }

  footer {
    font-size: 14px;
    bottom: 22px;
  }
}

/* Accents (add at bottom of styles.css) */
:root {
  --accent-name: #f6c945;   /* warm yellow underline */
  --accent-role: #7dd3fc;   /* soft blue highlight */
  --accent-domain: #a7f3d0; /* mint highlight */
}

/* Name: yellow "handwritten" underline */
.name-underline {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
  z-index: 0;
}

.name-underline::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.08em;          /* adjust vertical position */
  height: 0.32em;          /* thickness of underline */
  background: var(--accent-name);
  opacity: 0.95;
  transform: rotate(-1.2deg);
  border-radius: 0.35em;
  z-index: -1;

  /* wavy-ish edge so it feels hand-drawn */
  clip-path: polygon(
    0% 70%, 6% 60%, 12% 72%, 18% 58%, 24% 74%, 30% 60%,
    36% 75%, 42% 62%, 48% 76%, 54% 63%, 60% 75%, 66% 62%,
    72% 74%, 78% 60%, 84% 73%, 90% 59%, 96% 71%, 100% 64%,
    100% 95%, 0% 95%
  );
}

/* Phrase accents: subtle marker highlight behind text */
.accent {
  position: relative;
  display: inline-block;
  padding: 0 0.14em;
  border-radius: 0.22em;
}

.accent-role {
  background: color-mix(in oklab, var(--accent-role) 22%, transparent);
  box-shadow: 0 0.08em 0 color-mix(in oklab, var(--accent-role) 45%, transparent) inset;
}

.accent-domain {
  background: color-mix(in oklab, var(--accent-domain) 22%, transparent);
  box-shadow: 0 0.08em 0 color-mix(in oklab, var(--accent-domain) 45%, transparent) inset;
}

/* Optional: small hover polish */
@media (hover: hover) {
  .name-underline:hover {
    transform: translateY(-1px);
  }
  .accent:hover {
    filter: brightness(1.06);
  }
}