:root {
  --ink: #0d0d10;
  --ink-2: #17171c;
  --pink: #ff13a7;
  --pink-d: #d10085;
  --text: #1d1d24;
  --muted: #5c5c6b;
  --line: #e7e5ec;
  --bg: #ffffff;
  --alt: #f6f5f8;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }
.ico.tiny { width: 15px; height: 15px; vertical-align: -2px; }
.ico.big { width: 64px; height: 64px; stroke-width: 1.4; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13,13,16,.92); backdrop-filter: blur(8px); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .2px; min-width: 0; }
.brand img { border-radius: 50%; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: rgba(255,255,255,.75); }
.nav a:hover { color: var(--pink); }

/* hero */
.hero { background: radial-gradient(900px 500px at 85% 20%, rgba(255,19,167,.22), transparent 60%), var(--ink); color: #fff; }
.hero-in { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; padding: 72px 0 84px; }
.hello { margin: 0 0 8px; color: var(--pink); font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -1px; }
.roles { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 16px 0 0; font-size: 18px; color: rgba(255,255,255,.9); font-weight: 500; }
.roles .sep { color: var(--pink); }
.tagline { margin: 20px 0 0; max-width: 560px; color: rgba(255,255,255,.7); font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 15px; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-d); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: var(--pink); }
.where { margin: 22px 0 0; color: rgba(255,255,255,.55); font-size: 14px; }
.hero-photo { position: relative; justify-self: center; width: min(340px, 100%); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--pink); border-radius: 24px; }
.hero-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 439 / 600; object-fit: cover; border-radius: 24px; filter: saturate(.9); }

/* sections */
.sec { padding: 84px 0; }
.sec-alt { background: var(--alt); }
.h { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; }
.h span { font-size: 15px; color: var(--pink); font-weight: 700; font-variant-numeric: tabular-nums; }
.lead { margin: -8px 0 32px; color: var(--muted); max-width: 680px; font-size: 17px; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about-text p { font-size: 17px; color: #33333d; margin: 0 0 16px; }
.now { display: grid; gap: 14px; }
.now-h { margin: 0; font-weight: 700; color: var(--pink); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.now-card { border: 1px solid var(--line); border-left: 4px solid var(--pink); border-radius: 12px; padding: 18px 20px; }
.now-card h3 { font-size: 20px; }
.now-card h3 a { text-decoration: none; }
.now-card h3 a:hover { color: var(--pink); }
.now-card .since { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.now-card .role { margin: 2px 0 8px; font-weight: 600; color: #33333d; }
.now-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* project tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { --a: var(--pink); background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -18px rgba(13,13,16,.35); }
.a-pink { --a: #ff13a7; } .a-blue { --a: #2f6bff; } .a-green { --a: #10a774; }
.a-orange { --a: #ff7a1a; } .a-purple { --a: #7c4dff; } .a-yellow { --a: #e5b400; }
.visual { height: 168px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 55%, #0d0d10)); }
.visual.has-img { background: var(--ink); display: block; overflow: hidden; }
.visual img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 981px) {
  .tile.wide { grid-column: span 2; flex-direction: row; }
  .tile.wide .visual { height: auto; min-height: 100%; flex: 0 0 44%; }
  .tile.wide .body { padding: 26px 28px; }
  .tile.wide h3 { font-size: 22px; }
}
.body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kind { margin: 0; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--a); }
.tile h3 { font-size: 19px; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { color: var(--a); }
.body > p { margin: 0; font-size: 15px; color: var(--muted); }
.badge { display: inline-flex !important; align-self: flex-start; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--a) 12%, #fff); color: color-mix(in srgb, var(--a) 75%, #0d0d10) !important; font-weight: 600; font-size: 13px !important; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 6px 0 0; }
.tags li { font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: var(--alt); color: #44444f; }

/* CV */
.cv-card { display: flex; align-items: center; gap: 28px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #fff 60%, rgba(255,19,167,.06)); }
.cv-ico { width: 96px; height: 96px; flex: none; display: grid; place-items: center; border-radius: 20px; background: var(--ink); color: var(--pink); }
.cv-ico .ico.big { width: 48px; height: 48px; }
.cv-text { flex: 1; min-width: 0; }
.cv-text h3 { font-size: 20px; }
.cv-text p { margin: 6px 0 0; color: var(--muted); }
.cv-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a33; }

/* footer */
.foot { background: var(--ink); color: #fff; padding: 84px 0 40px; }
.foot-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.foot h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; }
.foot h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--pink); border-radius: 4px; margin: 16px auto 0; }
.foot-in > p { color: rgba(255,255,255,.7); max-width: 520px; margin: 18px 0 0; }
.foot .cta { justify-content: center; }
.socials { display: flex; gap: 12px; margin-top: 32px; }
.soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); transition: color .15s, border-color .15s; }
.soc:hover { color: var(--pink); border-color: var(--pink); }
.copy { margin-top: 40px !important; font-size: 13px; color: rgba(255,255,255,.45) !important; }

@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
  .hero-photo { width: min(240px, 70%); grid-row: 1; justify-self: start; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .sec { padding: 60px 0; }
  .tiles { grid-template-columns: 1fr; }
  .cv-card { flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; }
  .btn { padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .btn { transition: none; }
  .tile:hover, .btn:hover { transform: none; }
}
