/* Polish direction: quiet developer workspace, real logos, live presence.
   Design pass informed by unslop — Damir Sokolovsky (@heydamir), CC BY 4.0. */
.slide { padding: 88px 24px 40px; }
.screen-body { max-height: none; }
.logo-icon { object-fit: cover; border-radius: 50%; }
.hero { max-width: 960px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; padding: 0; }
.hero-intro { min-width: 0; width: 100%; }
.hero-heading { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 20px 0; }
.hero h1 { font-size: clamp(88px, 10vw, 148px); font-weight: 650; letter-spacing: -.075em; margin: 0; }
.eyebrow, .section-label { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.hero-location { font-size: 16px; line-height: 1.5; gap: 5px; margin-top: 20px; }
.hero-location img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.diamond { width: 5px; height: 5px; background: #999; border: 0; }
.role { font-size: clamp(22px, 2.6vw, 38px); }
.subtitle { font-size: 14px; line-height: 1.6; }
.tech-stack, .socials { justify-content: center; gap: 8px; margin-top: 28px; }
.tech-stack { column-gap: 16px; }
.tech-group { display: flex; gap: 8px; }
.tech { width: 44px; height: 44px; border-radius: 10px; background: #161616; }
.tech img { width: 26px; height: 26px; object-fit: contain; }
.tech[data-name="Go"] img { width: 32px; }
.tech:focus-visible { outline: 2px solid #ddd; outline-offset: 3px; }
.tech:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.btn { border-radius: 8px; height: 44px; }
.social-icon { object-fit: contain; }
.social-icon.geometry-dash-icon { object-fit: cover; }
.hero .socials { column-gap: 24px; }
.social-group { display: flex; gap: 8px; }
.btn.primary .social-icon { filter: brightness(0); }
.hero-profile { width: min(470px, 100%); min-width: 0; }
.hero-avatar { display: block; flex-shrink: 0; width: clamp(72px, 9vw, 112px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.discord-card { width: 100%; margin-top: 0; border-radius: 12px; }
.discord-banner { height: 32px; background: #1b1b1b; }
.discord-content { padding: 0 20px 20px; }
.discord-profile { margin-top: 0; }
.avatar { background: #141414; }
.presence.online { background: #23a55a; }
.presence.idle { background: #f0b232; }
.presence.dnd { background: #f23f43; }
.presence.offline, .presence.unknown { background: #747f8d; }
.presence::after {
  content: "";
  position: absolute;
  background: #141414;
}
.presence.idle::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -2px;
  left: -2px;
}
.presence.dnd::after {
  width: 7px;
  height: 2px;
  border-radius: 1px;
  top: 4px;
  left: 1.5px;
}
.presence.offline::after, .presence.unknown::after {
  inset: 3px;
  border-radius: 50%;
}
.discord-bottom { margin-top: 12px; padding-top: 4px; }
.discord-note { color: #999; font-size: 10px; }
.scroll-hint { margin-top: 0; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.section-title { font-size: clamp(48px, 6vw, 96px); font-weight: 600; letter-spacing: -.06em; }
.section-description { color: #aaa; font-size: 13px; }
.achievement-grid { gap: 16px; margin-top: 28px; }
.achievement-card { border-radius: 12px; }
.card-header { gap: 12px; padding: 20px; font-weight: 600; }
.achievement-icon { width: 28px; height: 28px; flex-shrink: 0; object-fit: contain; border-radius: 6px; }
.achievement-row { padding: 18px 20px; font-size: 13px; }
.achievement-row small { color: #a0a0a0; font-size: 11px; }
.place { background: #252525; border-radius: 5px; }
.achievement-side { gap: 16px; }
.achievement-side .card-header { padding: 16px 20px; }
.bullet { padding: 12px 20px; font-size: 12px; }
.bullet.highlight, .bullet.with-icon { display: flex; align-items: flex-start; gap: 12px; }
.achievement-row.winner { --prize: #e0e6f0; background: #202329; color: #cdd4de; }
.prod-entry.winner { background: #202329; }
.winner .place { display: inline-flex; align-items: center; gap: 6px; color: #e0e6f0; background: #343a44; }
.place .icon { width: 14px; height: 14px; }
.bullet.highlight { --prize: #e7b084; background: #2a201a; color: #e0c3ad; border-radius: 8px; margin: 0 8px 8px; padding: 12px; }
.bullet.highlight strong { color: #f2c39f; }
.prize-caption { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--prize); font-size: 10px; font-weight: 600; }
.prize-caption .icon { width: 14px; height: 14px; }
.achievement-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.achievement-name strong { min-width: 0; overflow-wrap: anywhere; }
.achievement-icon.mgbot-icon { padding: 0; background: transparent; border-radius: 0; object-fit: contain; }
.achievement-row.bronze { background: #2a201a; }
.bronze .place { display: inline-flex; align-items: center; gap: 6px; color: #f2c39f; background: #493226; }
.project-group { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; margin-top: 24px; }
.project-row { height: clamp(220px, 24dvh, 280px); --project-gap: 12px; }
.project-card { border-radius: 10px; background: var(--project-bg, #131313); }
.project-card.active { background: var(--project-active-bg, #202020); }
.project-card:hover { background: var(--project-hover-bg, #191919); }
.project-card.active:hover { background: var(--project-active-hover-bg, #242424); }
.project-card[data-tone="yellow"] {
  --project-bg: #17160f;
  --project-hover-bg: #1c1a12;
  --project-active-bg: #211e15;
  --project-active-hover-bg: #252218;
}
.project-card[data-tone="purple"] {
  --project-bg: #151119;
  --project-hover-bg: #1a1520;
  --project-active-bg: #201a27;
  --project-active-hover-bg: #241d2c;
}
.project-card[data-tone="blue"]:not([data-project="Q.AI"]) {
  --project-bg: #101619;
  --project-hover-bg: #131b21;
  --project-active-bg: #172128;
  --project-active-hover-bg: #1a252d;
}
.project-card[data-tone="pink"] {
  --project-bg: #191116;
  --project-hover-bg: #20161c;
  --project-active-bg: #261a22;
  --project-active-hover-bg: #2b1e26;
}
.project-card[data-tone="green"] {
  --project-bg: #101813;
  --project-hover-bg: #142019;
  --project-active-bg: #18271e;
  --project-active-hover-bg: #1b2c22;
}
.project-card[data-tone="teal"] {
  --project-base: #0e2b23;
  --project-bg: color-mix(in srgb, #131313, var(--project-base) 30%);
  --project-hover-bg: color-mix(in srgb, #191919, var(--project-base) 30%);
  --project-active-bg: color-mix(in srgb, #202020, var(--project-base) 30%);
  --project-active-hover-bg: color-mix(in srgb, #242424, var(--project-base) 30%);
}
.project-top { padding: 16px; }
.project-details .project-top { padding: 20px; }
.project-icon { width: 40px; height: 40px; border-radius: 10px; background: transparent; }
.project-icon img { width: 36px; height: 36px; object-fit: contain; border-radius: 7px; }
.project-label strong { font-size: 13px; }
.project-content { top: 84px; left: 20px; right: 20px; }
.project-content p { font-size: 12px; }
.project-link { font-size: 11px; }
footer { margin-top: 24px; padding-top: 0; }
#projects { padding-bottom: 104px; }
#projects > footer { position: absolute; left: 24px; right: 24px; bottom: max(12px, env(safe-area-inset-bottom)); margin: 0; }
body:has(#projects.active) .pagination { bottom: 96px; }
.pagination { right: 16px; top: auto; bottom: 12px; transform: none; flex-direction: row; gap: 4px; }
.page-dot span { border: 1px solid #777; }
.page-dot { width: 32px; height: 24px; }
.toast { border: 0; background: #282828; }
