:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #121315;
  --surface-hover: #191a1d;
  --text: #f3f3ef;
  --muted: #a1a29f;
  --subtle: #70726f;
  --gold: #d4af37;
  --teal: #86b8ae;
  --border: rgba(255, 255, 255, .11);
  --content-width: 1040px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.creator-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, .94);
  backdrop-filter: blur(14px);
}

.nav-left, .nav-brand, .nav-links, .nav-btn, .nav-chat-link {
  display: flex;
  align-items: center;
}
.nav-left { gap: 20px; min-width: max-content; }
.nav-brand { gap: 9px; }
.nav-title { font-size: 14px; font-weight: 700; }
.nav-badge {
  padding: 1px 7px;
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}
.nav-btn, .nav-chat-link {
  min-height: 36px;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.nav-btn { padding: 0 10px; }
.nav-chat-link { padding: 0 12px; color: var(--text); }
.nav-btn:hover, .nav-chat-link:hover { border-color: rgba(212, 175, 55, .48); color: var(--gold); }
.nav-links { justify-content: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 12px; transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }

.creator-main { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; }
.creator-hero {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 18px 58px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  object-fit: contain;
}
.hero-eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-eyebrow span { padding: 0 6px; color: var(--subtle); }
.creator-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.15;
}
.hero-summary { max-width: 560px; margin: 16px 0 20px; color: var(--muted); font-size: 16px; }
.role-list, .creative-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.role-tag { padding: 0 12px; color: var(--text); font-size: 12px; }
.role-tag + .role-tag { border-left: 1px solid rgba(255, 255, 255, .2); }

.creator-section { padding: 66px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 82px; }
.section-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.section-index { padding-top: 3px; color: var(--gold); font-size: 11px; font-weight: 700; }
.section-heading h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.about-content { max-width: 750px; margin-left: 40px; }
.about-content > p { margin: 0; color: #d1d2ce; font-size: 16px; line-height: 1.85; }
.about-content blockquote { margin: 23px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--gold); font-size: 15px; font-weight: 600; }
.about-content blockquote[hidden] { display: none; }

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-item {
  display: flex;
  min-width: 0;
  min-height: 228px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color .18s ease, background .18s ease;
}
.project-item:hover { border-color: rgba(212, 175, 55, .36); background: var(--surface-hover); }
.project-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--gold); font-size: 14px; }
.project-category { margin-top: 15px; color: var(--teal); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.project-item h3 { margin: 5px 0 6px; overflow-wrap: anywhere; font-size: 18px; line-height: 1.4; }
.project-item p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--gold); font-size: 12px; font-weight: 600; }
.project-link:hover { color: #f1d878; }

.creative-list { justify-content: flex-start; margin: 0 0 26px 40px; row-gap: 8px; }
.creative-tag { padding: 4px 12px; color: #d5d6d2; font-size: 12px; }
.creative-tag + .creative-tag { border-left: 1px solid var(--border); }
.artwork-access {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color .18s ease, background .18s ease;
}
.artwork-access:hover { border-color: rgba(212, 175, 55, .42); background: rgba(255, 255, 255, .025); }
.artwork-access-mark { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--gold); }
.artwork-access > span:nth-child(2) { display: grid; flex: 1; gap: 1px; }
.artwork-access strong { font-size: 13px; }
.artwork-access small { color: var(--muted); font-size: 11px; }
.artwork-access-arrow { color: var(--subtle); font-size: 12px; }

.socials-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.social-profile {
  display: flex;
  min-width: min(100%, 260px);
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}
.social-profile > i { color: #e887a6; font-size: 18px; }
.social-profile > span { display: grid; min-width: 0; }
.social-profile strong { font-size: 13px; }
.social-profile small { color: var(--muted); font-size: 11px; }
.social-profile .social-link-note { margin-left: auto; color: var(--subtle); }

.pixel-connection {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.pixel-connection img { flex: 0 0 auto; object-fit: contain; }
.pixel-connection > div { display: grid; flex: 1; }
.pixel-connection > div span { color: var(--muted); font-size: 11px; }
.pixel-connection > div strong { font-size: 15px; }
.pixel-connection > a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 12px; font-weight: 600; }
.pixel-connection > a:hover { color: #f1d878; }
.creator-footer { display: flex; width: min(var(--content-width), calc(100% - 48px)); justify-content: space-between; margin: 0 auto; padding: 20px 0 26px; color: var(--subtle); font-size: 11px; }
.creator-footer a { color: var(--muted); }
.creator-footer a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .creator-nav { gap: 12px; padding: 0 16px; }
  .nav-links { display: none; }
  .creator-main, .creator-footer { width: min(var(--content-width), calc(100% - 32px)); }
  .creator-hero { min-height: 360px; padding: 52px 12px; }
  .creator-section { padding: 52px 0; }
}

@media (max-width: 520px) {
  .creator-nav { min-height: 58px; }
  .nav-left { gap: 10px; }
  .nav-btn { width: 36px; justify-content: center; padding: 0; }
  .nav-btn span { display: none; }
  .nav-chat-link { width: 36px; justify-content: center; padding: 0; }
  .nav-chat-link span { display: none; }
  .creator-hero { min-height: 340px; }
  .hero-mark { width: 50px; height: 50px; }
  .creator-hero h1 { font-size: 40px; }
  .hero-summary { font-size: 14px; }
  .role-tag { padding: 0 8px; font-size: 11px; }
  .section-heading h2 { font-size: 21px; }
  .projects-grid { grid-template-columns: minmax(0, 1fr); }
  .project-item { min-height: 0; padding: 18px; }
  .about-content, .creative-list { margin-left: 0; }
  .about-content > p { font-size: 14px; }
  .creative-tag { padding-left: 0; }
  .socials-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .social-profile { min-width: 0; }
  .pixel-connection { gap: 10px; }
  .pixel-connection img { width: 32px; height: 32px; }
  .pixel-connection > a { gap: 5px; font-size: 11px; }
}

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